Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000847/0.000847, allocations: 98.77 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2305/0.2305, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5667, allocations: 87.48 MB / 0.5642 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.567, allocations: 75.2 kB / 0.5643 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.5784, allocations: 4.591 MB / 0.5687 GB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5785, allocations: 0 / 0.5687 GB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.5785, allocations: 4 kB / 0.5687 GB, free: 8.609 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.0004493/0.5789, allocations: 398.4 kB / 0.5691 GB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.579, allocations: 16.02 kB / 0.5691 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.579, allocations: 11.86 kB / 0.5691 GB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5793, allocations: 194.3 kB / 0.5693 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.5793, allocations: 3.625 kB / 0.5693 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.5793, allocations: 4 kB / 0.5693 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.5796, allocations: 78.44 kB / 0.5694 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5796, allocations: 3.984 kB / 0.5694 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5796, allocations: 11.62 kB / 0.5694 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5796, allocations: 0 / 0.5694 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.5798, allocations: 47.66 kB / 0.5695 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.5802, allocations: 314.3 kB / 0.5698 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.5803, allocations: 49.86 kB / 0.5698 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.5804, allocations: 4 kB / 0.5698 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5804, allocations: 34.06 kB / 0.5699 GB, free: 7.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.5804, allocations: 4 kB / 0.5699 GB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007891/0.5812, allocations: 257.9 kB / 0.5701 GB, free: 7.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5813, allocations: 84.61 kB / 0.5702 GB, free: 7.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.5814, allocations: 138.3 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.5814, allocations: 25.7 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.5815, allocations: 95.19 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.5815, allocations: 27.16 kB / 0.5705 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.5815, allocations: 0 / 0.5705 GB, free: 6.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5817, allocations: 323 kB / 0.5708 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5818, allocations: 50.97 kB / 0.5708 GB, free: 6.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.5819, allocations: 59.94 kB / 0.5709 GB, free: 6.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.582, allocations: 51.17 kB / 0.5709 GB, free: 6.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5821, allocations: 0 / 0.5709 GB, free: 6.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002781/0.5823, allocations: 135.2 kB / 0.5711 GB, free: 6.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5824, allocations: 8 kB / 0.5711 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5824, allocations: 0 / 0.5711 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5824, allocations: 3.953 kB / 0.5711 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5825, allocations: 31.61 kB / 0.5711 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5825, allocations: 0 / 0.5711 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.309e-05/0.5826, allocations: 15.98 kB / 0.5711 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.5826, allocations: 4.312 kB / 0.5711 GB, free: 6.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/0.5827, allocations: 117.5 kB / 0.5712 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.5827, allocations: 7.906 kB / 0.5712 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.5831, allocations: 162.3 kB / 0.5714 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5831, allocations: 0 / 0.5714 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5831, allocations: 3.953 kB / 0.5714 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5831, allocations: 0 / 0.5714 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.5837, allocations: 427 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5837, allocations: 3.938 kB / 0.5718 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.5838, allocations: 26.8 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5838, allocations: 0 / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.5838, allocations: 7.953 kB / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5838, allocations: 0 / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5838, allocations: 3.938 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.5842, allocations: 234.4 kB / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.5842, allocations: 86.77 kB / 0.5721 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.5843, allocations: 5.109 kB / 0.5721 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.5844, allocations: 21.33 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.5844, allocations: 8.672 kB / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.5844, allocations: 0 / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.5845, allocations: 120.3 kB / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5845, allocations: 0 / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000264/0.5848, allocations: 28.31 kB / 0.5723 GB, free: 4.867 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 (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.0009476/0.5857, allocations: 456.1 kB / 0.5728 GB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.5861, allocations: 111.9 kB / 0.5729 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5861, allocations: 0 / 0.5729 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.5862, allocations: 54.84 kB / 0.5729 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.5864, allocations: 15.48 kB / 0.5729 GB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.5868, allocations: 225.6 kB / 0.5731 GB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.5871, allocations: 0.7036 MB / 0.5738 GB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.5872, allocations: 20.66 kB / 0.5739 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.5873, allocations: 19.42 kB / 0.5739 GB, free: 3.324 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5873, allocations: 0 / 0.5739 GB, free: 3.324 MB / 378.7 MB Notification: Performance of Templates: time 0.003498/0.5908, allocations: 1.457 MB / 0.5753 GB, free: 1.879 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches