Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001493, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.953/1.953, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001145/0.001145, allocations: 96.36 kB / 270.9 MB, free: 8.367 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.5119/0.5119, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 16 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4843/0.612, allocations: 87.57 MB / 0.5643 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004259/0.6125, allocations: 79.89 kB / 0.5643 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04719/0.6597, allocations: 6.511 MB / 0.5707 GB, free: 8.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.6598, allocations: 0 / 0.5707 GB, free: 8.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.553e-05/0.6599, allocations: 12.64 kB / 0.5707 GB, free: 8.594 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002197/0.6621, allocations: 0.7181 MB / 0.5714 GB, free: 7.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.6622, allocations: 12.02 kB / 0.5714 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.6625, allocations: 50.88 kB / 0.5715 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.6646, allocations: 495 kB / 0.5719 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.6647, allocations: 0 / 0.5719 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.6647, allocations: 4 kB / 0.5719 GB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.6652, allocations: 91.28 kB / 0.572 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6652, allocations: 4 kB / 0.572 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.6653, allocations: 0 / 0.572 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.6653, allocations: 5.031 kB / 0.572 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.6656, allocations: 31.97 kB / 0.5721 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.6666, allocations: 378.3 kB / 0.5724 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.6673, allocations: 117.2 kB / 0.5725 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.6674, allocations: 4 kB / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.6679, allocations: 112.3 kB / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 4.629e-06/0.6679, allocations: 0 / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001337/0.6692, allocations: 205.4 kB / 0.5728 GB, free: 6.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.6694, allocations: 81.11 kB / 0.5729 GB, free: 6.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.673, allocations: 0.9395 MB / 0.5738 GB, free: 5.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.6731, allocations: 25.7 kB / 0.5739 GB, free: 5.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.6735, allocations: 246.6 kB / 0.5741 GB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6736, allocations: 35.55 kB / 0.5741 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.6736, allocations: 4 kB / 0.5741 GB, free: 4.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6738, allocations: 318.8 kB / 0.5744 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.6741, allocations: 31.98 kB / 0.5745 GB, free: 4.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.6744, allocations: 56.91 kB / 0.5745 GB, free: 4.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.6747, allocations: 43.98 kB / 0.5746 GB, free: 4.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6747, allocations: 0 / 0.5746 GB, free: 4.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006637/0.6754, allocations: 121.6 kB / 0.5747 GB, free: 4.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.6755, allocations: 11.98 kB / 0.5747 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6755, allocations: 0 / 0.5747 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.6755, allocations: 4 kB / 0.5747 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.6758, allocations: 19.94 kB / 0.5747 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6759, allocations: 3.984 kB / 0.5747 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.6763, allocations: 19.84 kB / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.6764, allocations: 4 kB / 0.5747 GB, free: 4.203 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0006449/0.6771, allocations: 233.6 kB / 0.575 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.6774, allocations: 55.38 kB / 0.575 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.6784, allocations: 201.5 kB / 0.5752 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6785, allocations: 4 kB / 0.5752 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.6785, allocations: 0 / 0.5752 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.6786, allocations: 0 / 0.5752 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.6796, allocations: 389.3 kB / 0.5756 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6796, allocations: 0 / 0.5756 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.6798, allocations: 16.73 kB / 0.5756 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.6799, allocations: 0 / 0.5756 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.6799, allocations: 12.19 kB / 0.5756 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.68, allocations: 4 kB / 0.5756 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.68, allocations: 0 / 0.5756 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.681, allocations: 234.9 kB / 0.5758 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.6817, allocations: 192.4 kB / 0.576 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.6819, allocations: 4 kB / 0.576 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.6823, allocations: 19.92 kB / 0.576 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.6824, allocations: 7.984 kB / 0.5761 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.6824, allocations: 7.938 kB / 0.5761 GB, free: 2.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002643/0.6851, allocations: 0.7526 MB / 0.5768 GB, free: 1.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.6852, allocations: 0 / 0.5768 GB, free: 1.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009235/0.6861, allocations: 83.89 kB / 0.5769 GB, free: 1.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001924/0.6881, allocations: 426.9 kB / 0.5773 GB, free: 1.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007384/0.6889, allocations: 83.91 kB / 0.5774 GB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6889, allocations: 0 / 0.5774 GB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.6892, allocations: 51.91 kB / 0.5774 GB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.6903, allocations: 66.66 kB / 0.5775 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.6941, allocations: 1.045 MB / 0.5785 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008864/0.695, allocations: 0.8585 MB / 0.5793 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.6955, allocations: 39.44 kB / 0.5794 GB, free: 15.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6955, allocations: 0 / 0.5794 GB, free: 15.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02379/0.7193, allocations: 5.606 MB / 0.5848 GB, free: 9.785 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches