Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 184.6 kB / 8.008 MB, free: 1.039 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.3 MB / 213.7 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008068/0.0008069, allocations: 101.3 kB / 261.8 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 43.48 MB / 353.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.137e-05, allocations: 8.219 kB / 418.3 MB, free: 40.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3565, allocations: 58.85 MB / 477.1 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4899, allocations: 86.48 MB / 0.5504 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4902, allocations: 67.97 kB / 0.5504 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.5078, allocations: 8.084 MB / 0.5583 GB, free: 4.176 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5078, allocations: 0 / 0.5583 GB, free: 4.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.5078, allocations: 4 kB / 0.5583 GB, free: 4.172 MB / 394.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.0006195/0.5085, allocations: 0.5563 MB / 0.5589 GB, free: 3.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5085, allocations: 12.03 kB / 0.5589 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.5086, allocations: 43.48 kB / 0.5589 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.5091, allocations: 331.8 kB / 0.5593 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5091, allocations: 0 / 0.5593 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.5091, allocations: 4 kB / 0.5593 GB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.935e-05/0.5092, allocations: 19.98 kB / 0.5593 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.5093, allocations: 41.69 kB / 0.5593 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5093, allocations: 7.938 kB / 0.5593 GB, free: 3.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5094, allocations: 3.938 kB / 0.5593 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5094, allocations: 7.953 kB / 0.5593 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.51, allocations: 437.2 kB / 0.5598 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.5101, allocations: 30.58 kB / 0.5598 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.5101, allocations: 20.94 kB / 0.5598 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.5101, allocations: 0 / 0.5598 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5102, allocations: 34.56 kB / 0.5598 GB, free: 2.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.5102, allocations: 0 / 0.5598 GB, free: 2.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005576/0.5107, allocations: 231.9 kB / 0.5601 GB, free: 2.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.5108, allocations: 51.41 kB / 0.5601 GB, free: 2.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.5119, allocations: 0.759 MB / 0.5608 GB, free: 1.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5119, allocations: 29.7 kB / 0.5609 GB, free: 1.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5121, allocations: 212.1 kB / 0.5611 GB, free: 1.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.5121, allocations: 23.7 kB / 0.5611 GB, free: 1.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.5121, allocations: 0 / 0.5611 GB, free: 1.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5123, allocations: 366.7 kB / 0.5615 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.5123, allocations: 19.98 kB / 0.5615 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.5124, allocations: 19.94 kB / 0.5615 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.5124, allocations: 28.2 kB / 0.5615 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5124, allocations: 0 / 0.5615 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001623/0.5126, allocations: 121.2 kB / 0.5616 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5126, allocations: 4 kB / 0.5616 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5126, allocations: 0 / 0.5616 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5127, allocations: 7.938 kB / 0.5616 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5128, allocations: 23.98 kB / 0.5617 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.5128, allocations: 0 / 0.5617 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.5129, allocations: 19.92 kB / 0.5617 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.5129, allocations: 8 kB / 0.5617 GB, free: 0.5391 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.553e-05/0.513, allocations: 104.9 kB / 0.5618 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.5131, allocations: 43.44 kB / 0.5618 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.5133, allocations: 133.6 kB / 0.562 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.5133, allocations: 4.094 kB / 0.562 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5133, allocations: 0 / 0.562 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5133, allocations: 7.984 kB / 0.562 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.5141, allocations: 0.5808 MB / 0.5625 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5141, allocations: 0 / 0.5625 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.5142, allocations: 27.97 kB / 0.5626 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5142, allocations: 0 / 0.5626 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5142, allocations: 3.953 kB / 0.5626 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5142, allocations: 0 / 0.5626 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5142, allocations: 0 / 0.5626 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.5144, allocations: 219 kB / 0.5628 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.5146, allocations: 160.5 kB / 0.5629 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.5147, allocations: 0 / 0.5629 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5148, allocations: 15.94 kB / 0.5629 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.5148, allocations: 8 kB / 0.563 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.5148, allocations: 4 kB / 0.563 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000631/0.5155, allocations: 0.612 MB / 0.5636 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5155, allocations: 4 kB / 0.5636 GB, free: 14.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.5158, allocations: 59.98 kB / 0.5636 GB, free: 14.47 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007196/0.5165, allocations: 334.7 kB / 0.5639 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.5167, allocations: 51.98 kB / 0.564 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5167, allocations: 0 / 0.564 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.5167, allocations: 35.92 kB / 0.564 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.517, allocations: 33.69 kB / 0.5641 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5181, allocations: 0.7338 MB / 0.5648 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.5186, allocations: 0.8302 MB / 0.5656 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.5187, allocations: 52.64 kB / 0.5656 GB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.5187, allocations: 23.44 kB / 0.5657 GB, free: 12.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5187, allocations: 0 / 0.5657 GB, free: 12.38 MB / 410.7 MB Notification: Performance of Templates: time 0.005865/0.5246, allocations: 2.222 MB / 0.5678 GB, free: 10.15 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches