Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002215/0.002214, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001442/0.001442, allocations: 92.42 kB / 270.9 MB, free: 8.398 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.5006/0.5006, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1547, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6205, allocations: 87.82 MB / 0.5645 GB, free: 14.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.6209, allocations: 71.95 kB / 0.5646 GB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03406/0.6549, allocations: 7.545 MB / 0.5719 GB, free: 7.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.655, allocations: 0 / 0.5719 GB, free: 7.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.655, allocations: 4 kB / 0.5719 GB, free: 7.188 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009368/0.656, allocations: 0.501 MB / 0.5724 GB, free: 6.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.656, allocations: 16.55 kB / 0.5724 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.6561, allocations: 23.16 kB / 0.5725 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.6567, allocations: 282.5 kB / 0.5727 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6568, allocations: 0 / 0.5727 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.6568, allocations: 4 kB / 0.5727 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.6572, allocations: 107.2 kB / 0.5728 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6572, allocations: 0 / 0.5728 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.6572, allocations: 4 kB / 0.5728 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.6572, allocations: 5.031 kB / 0.5728 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.6574, allocations: 35.97 kB / 0.5729 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.6582, allocations: 464.9 kB / 0.5733 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.6587, allocations: 125.3 kB / 0.5734 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.6587, allocations: 0 / 0.5734 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/0.659, allocations: 113.2 kB / 0.5736 GB, free: 5.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.6591, allocations: 0 / 0.5736 GB, free: 5.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001415/0.6605, allocations: 364 kB / 0.5739 GB, free: 4.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.6606, allocations: 85.11 kB / 0.574 GB, free: 4.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.6612, allocations: 322 kB / 0.5743 GB, free: 4.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.6613, allocations: 33.7 kB / 0.5743 GB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.6614, allocations: 186.8 kB / 0.5745 GB, free: 4.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.6615, allocations: 47.34 kB / 0.5745 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.6615, allocations: 4 kB / 0.5745 GB, free: 4.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6617, allocations: 322.8 kB / 0.5749 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.6619, allocations: 43.97 kB / 0.5749 GB, free: 3.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.6621, allocations: 72.78 kB / 0.575 GB, free: 3.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.6623, allocations: 47.94 kB / 0.575 GB, free: 3.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6623, allocations: 0 / 0.575 GB, free: 3.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005214/0.6628, allocations: 157.5 kB / 0.5752 GB, free: 3.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.6629, allocations: 16.05 kB / 0.5752 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.6629, allocations: 0 / 0.5752 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6629, allocations: 4.688 kB / 0.5752 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.6632, allocations: 39.92 kB / 0.5752 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6632, allocations: 0 / 0.5752 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.6634, allocations: 8 kB / 0.5752 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.6634, allocations: 8.75 kB / 0.5752 GB, free: 3.562 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002202/0.6637, allocations: 157.7 kB / 0.5754 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.6637, allocations: 35.58 kB / 0.5754 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.6645, allocations: 215.5 kB / 0.5756 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6645, allocations: 4 kB / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6645, allocations: 0 / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.6645, allocations: 7.969 kB / 0.5756 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.6658, allocations: 0.671 MB / 0.5763 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6659, allocations: 0 / 0.5763 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.666, allocations: 23.92 kB / 0.5763 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.666, allocations: 4 kB / 0.5763 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.6661, allocations: 8 kB / 0.5763 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6661, allocations: 0 / 0.5763 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/0.6661, allocations: 4 kB / 0.5763 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.6668, allocations: 410.8 kB / 0.5767 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.667, allocations: 116.8 kB / 0.5768 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.667, allocations: 4 kB / 0.5768 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.6672, allocations: 15.98 kB / 0.5769 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.6673, allocations: 15.94 kB / 0.5769 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.6674, allocations: 12 kB / 0.5769 GB, free: 1.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000455/0.6678, allocations: 261.9 kB / 0.5771 GB, free: 1.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6678, allocations: 0 / 0.5771 GB, free: 1.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.6684, allocations: 52 kB / 0.5772 GB, free: 1.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001462/0.6698, allocations: 488.2 kB / 0.5776 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.6704, allocations: 123.9 kB / 0.5778 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6704, allocations: 0 / 0.5778 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.6706, allocations: 72.56 kB / 0.5778 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.6712, allocations: 49.56 kB / 0.5779 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.6725, allocations: 0.5169 MB / 0.5784 GB, free: 264 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.6729, allocations: 0.7635 MB / 0.5791 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6731, allocations: 23.44 kB / 0.5792 GB, free: 15.45 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6731, allocations: 3.938 kB / 0.5792 GB, free: 15.45 MB / 410.7 MB Notification: Performance of Templates: time 0.008197/0.6813, allocations: 3.214 MB / 0.5823 GB, free: 12.24 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches