Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 104.1 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 184.2 kB / 19.37 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4447, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003725/0.4485, allocations: 1.633 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.4501, allocations: 1.054 MB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.4502, allocations: 1.219 kB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.4504, allocations: 22.78 kB / 0.5222 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.4507, allocations: 51.02 kB / 0.5223 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.4512, allocations: 170.7 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.4513, allocations: 74.11 kB / 0.5225 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.4515, allocations: 14.75 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.4515, allocations: 29.48 kB / 0.5225 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.4517, allocations: 33.23 kB / 0.5226 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.4517, allocations: 3 kB / 0.5226 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.4519, allocations: 51.08 kB / 0.5226 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.452, allocations: 22.23 kB / 0.5227 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.452, allocations: 21.77 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.4523, allocations: 105.4 kB / 0.5228 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4523, allocations: 0 / 0.5228 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4523, allocations: 0 / 0.5228 GB, free: 1.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4523, allocations: 1.125 kB / 0.5228 GB, free: 1.453 MB / 382.1 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.0006024/0.4529, allocations: 390.6 kB / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.453, allocations: 9.922 kB / 0.5232 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.453, allocations: 8.125 kB / 0.5232 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.4532, allocations: 188.1 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4533, allocations: 1.719 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.4533, allocations: 2.812 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.4536, allocations: 79.95 kB / 0.5234 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4536, allocations: 5.312 kB / 0.5234 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.4536, allocations: 4 kB / 0.5234 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.4536, allocations: 10.03 kB / 0.5234 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.4538, allocations: 35.98 kB / 0.5235 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.4543, allocations: 301.8 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.4545, allocations: 54.78 kB / 0.5238 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.4546, allocations: 25.19 kB / 0.5238 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.4546, allocations: 1.578 kB / 0.5238 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4546, allocations: 36.31 kB / 0.5239 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4547, allocations: 1.188 kB / 0.5239 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008676/0.4555, allocations: 224.4 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4556, allocations: 79.12 kB / 0.5242 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4557, allocations: 134.8 kB / 0.5243 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.4558, allocations: 30.77 kB / 0.5243 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.4559, allocations: 89.14 kB / 0.5244 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4559, allocations: 30.64 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.4559, allocations: 21.31 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4561, allocations: 321.5 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4562, allocations: 38.31 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4564, allocations: 55.53 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.4567, allocations: 91.41 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4567, allocations: 3.938 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002974/0.457, allocations: 121.2 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.457, allocations: 6.531 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.457, allocations: 0 / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.457, allocations: 5.531 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4572, allocations: 18.78 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4572, allocations: 0 / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.4572, allocations: 14.2 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.4573, allocations: 6.062 kB / 0.5251 GB, free: 15.48 MB / 398.1 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 9.721e-05/0.4574, allocations: 117.9 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.4574, allocations: 7.094 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.4578, allocations: 141.2 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4578, allocations: 0 / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4578, allocations: 1.438 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4578, allocations: 4.453 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.4584, allocations: 409 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4584, allocations: 4.609 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.4585, allocations: 18.14 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4585, allocations: 1.688 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4585, allocations: 8.5 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4585, allocations: 1.375 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4585, allocations: 480 / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.459, allocations: 230.4 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.459, allocations: 83.94 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.4591, allocations: 5.406 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.4592, allocations: 9.062 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.4592, allocations: 9.406 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4593, allocations: 6.281 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4594, allocations: 105.4 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4594, allocations: 0 / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.4597, allocations: 26.23 kB / 0.5262 GB, free: 14.56 MB / 398.1 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.001074/0.4607, allocations: 437.9 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.4611, allocations: 104.2 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4611, allocations: 0 / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4612, allocations: 45.41 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.4616, allocations: 16.89 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.4621, allocations: 222.4 kB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4624, allocations: 0.7008 MB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.4625, allocations: 20.31 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4625, allocations: 1.375 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Templates: time 0.00412/0.4666, allocations: 1.821 MB / 0.5295 GB, free: 12.71 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches