Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 109.5 kB / 18.45 MB, free: 4.613 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.001935/0.001935, allocations: 176.3 kB / 19.38 MB, free: 3.695 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.74/1.74, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2138/0.2138, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002641/0.3433, allocations: 1.646 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006454/0.344, allocations: 435.8 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.344, allocations: 1.25 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.3446, allocations: 454.4 kB / 0.5221 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.345, allocations: 256.7 kB / 0.5223 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.3454, allocations: 129 kB / 0.5224 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.3456, allocations: 167.8 kB / 0.5226 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.3457, allocations: 19.92 kB / 0.5226 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.3458, allocations: 109.5 kB / 0.5227 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.3461, allocations: 220 kB / 0.5229 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3461, allocations: 6.656 kB / 0.5229 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3462, allocations: 48.77 kB / 0.523 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.3463, allocations: 81.59 kB / 0.5231 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.3464, allocations: 105.6 kB / 0.5232 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3467, allocations: 272.5 kB / 0.5234 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3467, allocations: 1.156 kB / 0.5234 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3467, allocations: 0 / 0.5234 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3467, allocations: 0 / 0.5234 GB, free: 1.754 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.0005787/0.3473, allocations: 0.6533 MB / 0.5241 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3473, allocations: 8.906 kB / 0.5241 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.3474, allocations: 50.7 kB / 0.5241 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.3476, allocations: 294.1 kB / 0.5244 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3476, allocations: 6.25 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3476, allocations: 8.344 kB / 0.5244 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3478, allocations: 67.42 kB / 0.5245 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3478, allocations: 0 / 0.5245 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3478, allocations: 9.797 kB / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3479, allocations: 2.031 kB / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.348, allocations: 34.16 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3484, allocations: 405 kB / 0.5249 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.3486, allocations: 52.48 kB / 0.525 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.3487, allocations: 26.16 kB / 0.525 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3487, allocations: 0 / 0.525 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.3488, allocations: 33.22 kB / 0.525 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3488, allocations: 4 kB / 0.525 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001397/0.3502, allocations: 470.1 kB / 0.5255 GB, free: 212 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.3502, allocations: 57.33 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.351, allocations: 0.8603 MB / 0.5264 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.351, allocations: 25.7 kB / 0.5264 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3512, allocations: 216.9 kB / 0.5266 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.3512, allocations: 38.84 kB / 0.5266 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.3513, allocations: 25.67 kB / 0.5266 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3515, allocations: 359.1 kB / 0.527 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3516, allocations: 39.81 kB / 0.527 GB, free: 15.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3517, allocations: 47.88 kB / 0.5271 GB, free: 15.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.352, allocations: 103.2 kB / 0.5272 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.352, allocations: 1.031 kB / 0.5272 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003393/0.3524, allocations: 174.7 kB / 0.5273 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3524, allocations: 5.094 kB / 0.5273 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3524, allocations: 1.656 kB / 0.5273 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3524, allocations: 4 kB / 0.5273 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3525, allocations: 31.94 kB / 0.5274 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3526, allocations: 5.719 kB / 0.5274 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.3526, allocations: 4.812 kB / 0.5274 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3527, allocations: 2.594 kB / 0.5274 GB, free: 14.93 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 (11): * Single equations (assignments): 11 * 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.000179/0.3528, allocations: 222.5 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3529, allocations: 42.81 kB / 0.5276 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.3533, allocations: 201.5 kB / 0.5278 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3533, allocations: 0 / 0.5278 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3534, allocations: 3.938 kB / 0.5278 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.3534, allocations: 119.1 kB / 0.528 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3535, allocations: 384 / 0.528 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3536, allocations: 11.03 kB / 0.528 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3536, allocations: 7.547 kB / 0.528 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003604/0.354, allocations: 231.4 kB / 0.5282 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004041/0.3544, allocations: 361.2 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001483/0.3546, allocations: 55.8 kB / 0.5286 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006372/0.3552, allocations: 0.6411 MB / 0.5292 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Backend: time 6.82e-07/0.3552, allocations: 0 / 0.5292 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.3568, allocations: 0.6032 MB / 0.5298 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.00128/0.3581, allocations: 1.159 MB / 0.5309 GB, free: 12.56 MB / 398.1 MB Notification: Performance of Templates: time 0.005722/0.3638, allocations: 2.052 MB / 0.5329 GB, free: 11.55 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches