Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008275/0.0008278, allocations: 87.89 kB / 271.3 MB, free: 8.246 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.4494/0.4494, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.000429, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5506, allocations: 87.34 MB / 0.5652 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.551, allocations: 71.97 kB / 0.5653 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01848/0.5695, allocations: 8.11 MB / 0.5732 GB, free: 6.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5695, allocations: 0 / 0.5732 GB, free: 6.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.074e-05/0.5696, allocations: 4 kB / 0.5732 GB, free: 6.5 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.0009395/0.5705, allocations: 0.6287 MB / 0.5738 GB, free: 5.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5706, allocations: 8.031 kB / 0.5739 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.5708, allocations: 44.38 kB / 0.5739 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.5714, allocations: 352.1 kB / 0.5742 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5714, allocations: 4.375 kB / 0.5742 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5714, allocations: 4.375 kB / 0.5742 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.5716, allocations: 62.23 kB / 0.5743 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5717, allocations: 192 / 0.5743 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.5717, allocations: 3.938 kB / 0.5743 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5717, allocations: 3.938 kB / 0.5743 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.5718, allocations: 27.98 kB / 0.5743 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.5727, allocations: 456.6 kB / 0.5748 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.5729, allocations: 50.5 kB / 0.5748 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.573, allocations: 25 kB / 0.5748 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.573, allocations: 4 kB / 0.5748 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.5731, allocations: 34.5 kB / 0.5749 GB, free: 4.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.5731, allocations: 0 / 0.5749 GB, free: 4.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007664/0.5739, allocations: 255.9 kB / 0.5751 GB, free: 4.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5739, allocations: 51.41 kB / 0.5752 GB, free: 4.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.5753, allocations: 0.8496 MB / 0.576 GB, free: 3.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.5753, allocations: 25.7 kB / 0.576 GB, free: 3.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5755, allocations: 220.1 kB / 0.5762 GB, free: 3.219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.5755, allocations: 19.73 kB / 0.5763 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.5755, allocations: 0 / 0.5763 GB, free: 3.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5757, allocations: 366.7 kB / 0.5766 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.5758, allocations: 23.98 kB / 0.5766 GB, free: 2.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.5759, allocations: 23.98 kB / 0.5766 GB, free: 2.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.576, allocations: 70.56 kB / 0.5767 GB, free: 2.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.576, allocations: 0 / 0.5767 GB, free: 2.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002483/0.5763, allocations: 129 kB / 0.5768 GB, free: 2.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5763, allocations: 4 kB / 0.5768 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5763, allocations: 0 / 0.5768 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5763, allocations: 4 kB / 0.5768 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.5764, allocations: 15.98 kB / 0.5769 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5764, allocations: 0 / 0.5769 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.5765, allocations: 8 kB / 0.5769 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5765, allocations: 3.984 kB / 0.5769 GB, free: 2.547 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0002121/0.5767, allocations: 217.7 kB / 0.5771 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.5768, allocations: 43.44 kB / 0.5771 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.5772, allocations: 157.8 kB / 0.5773 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5772, allocations: 4 kB / 0.5773 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5772, allocations: 288 / 0.5773 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5772, allocations: 0 / 0.5773 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.5781, allocations: 0.6041 MB / 0.5779 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5781, allocations: 0 / 0.5779 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.5781, allocations: 23.91 kB / 0.5779 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5782, allocations: 0 / 0.5779 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.5782, allocations: 0 / 0.5779 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5782, allocations: 4 kB / 0.5779 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5782, allocations: 7.938 kB / 0.5779 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.5785, allocations: 226.9 kB / 0.5781 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.5788, allocations: 160.5 kB / 0.5783 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.5788, allocations: 4 kB / 0.5783 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.5789, allocations: 8 kB / 0.5783 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.579, allocations: 15.92 kB / 0.5783 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.579, allocations: 0 / 0.5783 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007608/0.5797, allocations: 0.6394 MB / 0.5789 GB, free: 352 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5797, allocations: 0 / 0.5789 GB, free: 352 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.5801, allocations: 59.98 kB / 0.579 GB, free: 292 kB / 394.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 (5): * Single equations (assignments): 5 * 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.001047/0.5811, allocations: 417.7 kB / 0.5794 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.5814, allocations: 59.95 kB / 0.5794 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5814, allocations: 0 / 0.5794 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.5815, allocations: 35.92 kB / 0.5795 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.5819, allocations: 22.3 kB / 0.5795 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.5833, allocations: 0.9232 MB / 0.5804 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.5838, allocations: 0.8223 MB / 0.5812 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.5839, allocations: 44.23 kB / 0.5812 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.584, allocations: 23.44 kB / 0.5813 GB, free: 13.98 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.584, allocations: 0 / 0.5813 GB, free: 13.98 MB / 410.7 MB Notification: Performance of Templates: time 0.006957/0.591, allocations: 2.44 MB / 0.5836 GB, free: 11.54 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches