Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.001157/0.001157, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.32/1.32, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2009/0.2009, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3484, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002773/0.3513, allocations: 1.637 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.3521, allocations: 457.8 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.3522, allocations: 1.5 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.353, allocations: 450.1 kB / 0.5221 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.3534, allocations: 253.4 kB / 0.5223 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.3538, allocations: 170.9 kB / 0.5225 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.3541, allocations: 173.5 kB / 0.5226 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3542, allocations: 20.64 kB / 0.5227 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3544, allocations: 109.4 kB / 0.5228 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3546, allocations: 211 kB / 0.523 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3547, allocations: 11.66 kB / 0.523 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3548, allocations: 51.41 kB / 0.523 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3549, allocations: 86.64 kB / 0.5231 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.355, allocations: 101.6 kB / 0.5232 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3553, allocations: 268.7 kB / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3553, allocations: 1.781 kB / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3553, allocations: 0 / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3553, allocations: 0 / 0.5235 GB, free: 1.727 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006229/0.3559, allocations: 0.6354 MB / 0.5241 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.356, allocations: 14.02 kB / 0.5241 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.356, allocations: 45.88 kB / 0.5241 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3563, allocations: 298.6 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3563, allocations: 1.688 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.3563, allocations: 7.562 kB / 0.5244 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3565, allocations: 69.48 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3565, allocations: 0.5156 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3565, allocations: 5.016 kB / 0.5245 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3565, allocations: 0.8438 kB / 0.5245 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3566, allocations: 41.86 kB / 0.5245 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.3571, allocations: 401.5 kB / 0.5249 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3573, allocations: 49.05 kB / 0.525 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.3573, allocations: 20.67 kB / 0.525 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3574, allocations: 1.281 kB / 0.525 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3574, allocations: 35.84 kB / 0.525 GB, free: 380 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3574, allocations: 0 / 0.525 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009436/0.3583, allocations: 311.7 kB / 0.5253 GB, free: 236 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.3584, allocations: 57.44 kB / 0.5254 GB, free: 168 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.3592, allocations: 0.8672 MB / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3592, allocations: 27.08 kB / 0.5263 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3594, allocations: 220.9 kB / 0.5265 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.3594, allocations: 23.78 kB / 0.5265 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3595, allocations: 27.11 kB / 0.5265 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3596, allocations: 360.7 kB / 0.5269 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.3597, allocations: 36.41 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.3598, allocations: 29.86 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.36, allocations: 77.94 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.36, allocations: 0 / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002419/0.3602, allocations: 138.4 kB / 0.5271 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3602, allocations: 6.062 kB / 0.5271 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3603, allocations: 0 / 0.5271 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3603, allocations: 1.312 kB / 0.5271 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.3604, allocations: 25.33 kB / 0.5272 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.3604, allocations: 4.969 kB / 0.5272 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.3605, allocations: 10.67 kB / 0.5272 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3605, allocations: 2.75 kB / 0.5272 GB, free: 15.02 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 (8): * Single equations (assignments): 8 * 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 0.0001733/0.3607, allocations: 210.6 kB / 0.5274 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.3607, allocations: 42.97 kB / 0.5274 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3611, allocations: 173.3 kB / 0.5276 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3611, allocations: 1.406 kB / 0.5276 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3611, allocations: 3.938 kB / 0.5276 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.3612, allocations: 117.8 kB / 0.5277 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.3612, allocations: 9.406 kB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.3613, allocations: 6.812 kB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3613, allocations: 7.516 kB / 0.5277 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002627/0.3616, allocations: 189 kB / 0.5279 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003046/0.3619, allocations: 320.1 kB / 0.5282 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.585e-05/0.362, allocations: 44.25 kB / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006473/0.3627, allocations: 0.6516 MB / 0.5289 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3627, allocations: 0 / 0.5289 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.3642, allocations: 0.5717 MB / 0.5294 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.001165/0.3653, allocations: 1.159 MB / 0.5306 GB, free: 12.72 MB / 398.1 MB Notification: Performance of Templates: time 0.005378/0.3707, allocations: 1.917 MB / 0.5324 GB, free: 11.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches