Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002176, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 87.44 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3178/0.3178, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.331e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4526, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.6189, allocations: 87.07 MB / 0.5509 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6192, allocations: 79.95 kB / 0.551 GB, free: 12.17 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04246/0.6617, allocations: 7.76 MB / 0.5586 GB, free: 4.398 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6617, allocations: 0 / 0.5586 GB, free: 4.398 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.6618, allocations: 4 kB / 0.5586 GB, free: 4.395 MB / 395.1 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.001227/0.6631, allocations: 0.4937 MB / 0.5591 GB, free: 3.855 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.6631, allocations: 12.03 kB / 0.5591 GB, free: 3.844 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.6633, allocations: 43.56 kB / 0.5591 GB, free: 3.801 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6645, allocations: 295.8 kB / 0.5594 GB, free: 3.473 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6646, allocations: 7.984 kB / 0.5594 GB, free: 3.465 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.6646, allocations: 7.984 kB / 0.5594 GB, free: 3.457 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002157/0.6649, allocations: 35.98 kB / 0.5595 GB, free: 3.422 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.6652, allocations: 87.31 kB / 0.5595 GB, free: 3.324 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6652, allocations: 0 / 0.5595 GB, free: 3.324 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.6653, allocations: 8 kB / 0.5596 GB, free: 3.316 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.6653, allocations: 3.953 kB / 0.5596 GB, free: 3.312 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.6665, allocations: 457.4 kB / 0.56 GB, free: 2.824 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.667, allocations: 105.4 kB / 0.5601 GB, free: 2.703 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.6671, allocations: 33.84 kB / 0.5601 GB, free: 2.664 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.6672, allocations: 7.984 kB / 0.5601 GB, free: 2.656 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.6676, allocations: 101 kB / 0.5602 GB, free: 2.539 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 5.089e-06/0.6676, allocations: 4 kB / 0.5602 GB, free: 2.535 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.00168/0.6693, allocations: 327.7 kB / 0.5605 GB, free: 2.207 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.6695, allocations: 77.11 kB / 0.5606 GB, free: 2.113 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6707, allocations: 418.3 kB / 0.561 GB, free: 1.699 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.6708, allocations: 25.7 kB / 0.561 GB, free: 1.668 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.671, allocations: 198.8 kB / 0.5612 GB, free: 1.469 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6711, allocations: 55.28 kB / 0.5613 GB, free: 1.414 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.6712, allocations: 0 / 0.5613 GB, free: 1.414 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6714, allocations: 318.8 kB / 0.5616 GB, free: 1.094 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.6716, allocations: 36 kB / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.6718, allocations: 63.42 kB / 0.5617 GB, free: 0.9844 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.6721, allocations: 48.09 kB / 0.5617 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6721, allocations: 0 / 0.5617 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005806/0.6727, allocations: 141.5 kB / 0.5619 GB, free: 0.793 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.6727, allocations: 16 kB / 0.5619 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6728, allocations: 0 / 0.5619 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.6728, allocations: 0 / 0.5619 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.6732, allocations: 35.92 kB / 0.5619 GB, free: 0.7422 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6732, allocations: 0 / 0.5619 GB, free: 0.7422 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.6735, allocations: 11.98 kB / 0.5619 GB, free: 0.7305 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.6736, allocations: 8 kB / 0.5619 GB, free: 0.7227 MB / 395.1 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 () * 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.0001701/0.6738, allocations: 108.9 kB / 0.562 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6739, allocations: 39.58 kB / 0.5621 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.6748, allocations: 204.3 kB / 0.5623 GB, free: 372 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6748, allocations: 0 / 0.5623 GB, free: 372 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6748, allocations: 4.375 kB / 0.5623 GB, free: 368 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6749, allocations: 3.984 kB / 0.5623 GB, free: 364 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.6767, allocations: 0.6524 MB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6768, allocations: 4 kB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.677, allocations: 27.92 kB / 0.5629 GB, free: 15.62 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.677, allocations: 0 / 0.5629 GB, free: 15.62 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.6771, allocations: 7.938 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.6771, allocations: 0 / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.6771, allocations: 4 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.678, allocations: 402.4 kB / 0.5633 GB, free: 15.18 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.6783, allocations: 124.7 kB / 0.5635 GB, free: 15.04 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6784, allocations: 15.97 kB / 0.5635 GB, free: 15.02 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.6788, allocations: 4 kB / 0.5635 GB, free: 15.02 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.6789, allocations: 19.94 kB / 0.5635 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.679, allocations: 11.98 kB / 0.5635 GB, free: 14.98 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.000857/0.6799, allocations: 332.5 kB / 0.5638 GB, free: 14.66 MB / 411.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6799, allocations: 0 / 0.5638 GB, free: 14.66 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009428/0.6808, allocations: 55.94 kB / 0.5639 GB, free: 14.61 MB / 411.1 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) * 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.001817/0.6827, allocations: 398.5 kB / 0.5643 GB, free: 14.25 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.6832, allocations: 103.8 kB / 0.5644 GB, free: 14.15 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6833, allocations: 0 / 0.5644 GB, free: 14.15 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.6835, allocations: 56.17 kB / 0.5644 GB, free: 14.09 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6846, allocations: 60.97 kB / 0.5645 GB, free: 14.04 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.6864, allocations: 474.7 kB / 0.5649 GB, free: 13.54 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.6872, allocations: 0.7867 MB / 0.5657 GB, free: 12.72 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.6874, allocations: 35.42 kB / 0.5657 GB, free: 12.69 MB / 411.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6874, allocations: 0 / 0.5657 GB, free: 12.69 MB / 411.1 MB Notification: Performance of Templates: time 0.01354/0.701, allocations: 3.579 MB / 0.5692 GB, free: 9.117 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches