Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 107.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3512/0.3512, allocations: 44.14 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009795/0.0009796, allocations: 59.91 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3437, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003761/0.3474, allocations: 1.674 MB / 0.508 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3492, allocations: 1.043 MB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.3493, allocations: 0 / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.3496, allocations: 16.8 kB / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3498, allocations: 40.39 kB / 0.5091 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3503, allocations: 161.9 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3505, allocations: 69.11 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3506, allocations: 14.34 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.259e-05/0.3507, allocations: 22.83 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.3508, allocations: 29.12 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3508, allocations: 6.594 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.351, allocations: 58.83 kB / 0.5094 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.3511, allocations: 16.95 kB / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.3511, allocations: 17.5 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.3514, allocations: 96.47 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3514, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3514, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3514, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005649/0.352, allocations: 394.4 kB / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.352, allocations: 13.62 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.3521, allocations: 10.28 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3523, allocations: 190.9 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3524, allocations: 384 / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3524, allocations: 3.156 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3526, allocations: 84.19 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3526, allocations: 0 / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3527, allocations: 2.719 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3527, allocations: 7.984 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3528, allocations: 35.77 kB / 0.5103 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.3533, allocations: 311.8 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3534, allocations: 48.75 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.3535, allocations: 26.78 kB / 0.5106 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.3535, allocations: 0 / 0.5106 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3536, allocations: 34.56 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3536, allocations: 2.875 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007956/0.3544, allocations: 212.7 kB / 0.5109 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3544, allocations: 81.11 kB / 0.511 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3546, allocations: 140.5 kB / 0.5111 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3546, allocations: 32.52 kB / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.3546, allocations: 94.27 kB / 0.5112 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3547, allocations: 26 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.3547, allocations: 23.52 kB / 0.5113 GB, free: 34.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.3548, allocations: 326 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3549, allocations: 44.75 kB / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.355, allocations: 50.58 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3552, allocations: 87.78 kB / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3552, allocations: 0 / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002663/0.3555, allocations: 119.2 kB / 0.5119 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3555, allocations: 9.812 kB / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3555, allocations: 0 / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3556, allocations: 0 / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3557, allocations: 31.14 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3557, allocations: 0 / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.3558, allocations: 16.95 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3558, allocations: 2.844 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/0.3559, allocations: 116.2 kB / 0.512 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.3559, allocations: 10.72 kB / 0.512 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.3562, allocations: 140.5 kB / 0.5122 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3562, allocations: 0 / 0.5122 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3563, allocations: 2.875 kB / 0.5122 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3563, allocations: 3.938 kB / 0.5122 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3568, allocations: 400.3 kB / 0.5126 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3568, allocations: 0 / 0.5126 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3569, allocations: 21.83 kB / 0.5126 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3569, allocations: 0 / 0.5126 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3569, allocations: 10.91 kB / 0.5126 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3569, allocations: 4.016 kB / 0.5126 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3569, allocations: 3.984 kB / 0.5126 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.3576, allocations: 0.8222 MB / 0.5134 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.3576, allocations: 83.58 kB / 0.5135 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3577, allocations: 0 / 0.5135 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.3578, allocations: 9.078 kB / 0.5135 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3578, allocations: 6.172 kB / 0.5135 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3578, allocations: 7.125 kB / 0.5135 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.3579, allocations: 108.4 kB / 0.5136 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3579, allocations: 0 / 0.5136 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004302/0.3583, allocations: 33.23 kB / 0.5136 GB, free: 32.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009904/0.3593, allocations: 435.2 kB / 0.5141 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.3596, allocations: 88.98 kB / 0.5141 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3597, allocations: 3.938 kB / 0.5141 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3598, allocations: 47.69 kB / 0.5142 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3603, allocations: 23.59 kB / 0.5142 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3608, allocations: 357.6 kB / 0.5146 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3611, allocations: 0.7012 MB / 0.5152 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3612, allocations: 29.69 kB / 0.5153 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.3612, allocations: 13.09 kB / 0.5153 GB, free: 31.35 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3612, allocations: 6.75 kB / 0.5153 GB, free: 31.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004292/0.3655, allocations: 1.465 MB / 0.5167 GB, free: 31.18 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches