Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.63/1.63, 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.0008973/0.0008973, allocations: 94.86 kB / 270.2 MB, free: 13.37 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.2335/0.2335, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003365, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.15, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.6209, allocations: 87.82 MB / 0.5645 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004393/0.6215, allocations: 76.47 kB / 0.5646 GB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.022/0.6435, allocations: 7.684 MB / 0.5721 GB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6435, allocations: 4 kB / 0.5721 GB, free: 5.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.6436, allocations: 7.984 kB / 0.5721 GB, free: 5.344 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008669/0.6444, allocations: 0.5264 MB / 0.5726 GB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.6445, allocations: 8.562 kB / 0.5726 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.6446, allocations: 27.67 kB / 0.5727 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.6452, allocations: 299.6 kB / 0.573 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6453, allocations: 9.375 kB / 0.573 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.6453, allocations: 5.25 kB / 0.573 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.6455, allocations: 105.4 kB / 0.5731 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6455, allocations: 0 / 0.5731 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6456, allocations: 0 / 0.5731 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6456, allocations: 7.938 kB / 0.5731 GB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.6457, allocations: 47.11 kB / 0.5731 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.6464, allocations: 474.7 kB / 0.5736 GB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.6467, allocations: 117.4 kB / 0.5737 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.6467, allocations: 4 kB / 0.5737 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.647, allocations: 117.8 kB / 0.5738 GB, free: 3.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.647, allocations: 0 / 0.5738 GB, free: 3.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001001/0.648, allocations: 378.6 kB / 0.5742 GB, free: 3.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.6481, allocations: 81.11 kB / 0.5742 GB, free: 3.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.6485, allocations: 389.8 kB / 0.5746 GB, free: 2.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.6485, allocations: 32.64 kB / 0.5746 GB, free: 2.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.6486, allocations: 150.6 kB / 0.5748 GB, free: 2.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.6487, allocations: 53.72 kB / 0.5748 GB, free: 2.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.6487, allocations: 3.438 kB / 0.5748 GB, free: 2.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6489, allocations: 343.2 kB / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.649, allocations: 40.86 kB / 0.5752 GB, free: 2.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.6491, allocations: 76.78 kB / 0.5753 GB, free: 2.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.6492, allocations: 51.98 kB / 0.5753 GB, free: 2.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6493, allocations: 3.953 kB / 0.5753 GB, free: 2.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003175/0.6496, allocations: 186.6 kB / 0.5755 GB, free: 2.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6496, allocations: 6.656 kB / 0.5755 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6496, allocations: 4.062 kB / 0.5755 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6496, allocations: 4 kB / 0.5755 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.6498, allocations: 35.86 kB / 0.5756 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.6498, allocations: 7.984 kB / 0.5756 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.6499, allocations: 7.938 kB / 0.5756 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.6499, allocations: 4 kB / 0.5756 GB, free: 1.984 MB / 378.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.0001779/0.6501, allocations: 164.7 kB / 0.5757 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.6502, allocations: 31.67 kB / 0.5758 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.6507, allocations: 235.5 kB / 0.576 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6507, allocations: 0 / 0.576 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6507, allocations: 0 / 0.576 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6507, allocations: 4.188 kB / 0.576 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6517, allocations: 0.681 MB / 0.5767 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6517, allocations: 3.938 kB / 0.5767 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.6518, allocations: 27.05 kB / 0.5767 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6518, allocations: 4 kB / 0.5767 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6519, allocations: 0 / 0.5767 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6519, allocations: 8 kB / 0.5767 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6519, allocations: 0 / 0.5767 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.6524, allocations: 420.5 kB / 0.5771 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.6526, allocations: 127.4 kB / 0.5772 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.6527, allocations: 11.27 kB / 0.5772 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.6528, allocations: 8 kB / 0.5772 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.6529, allocations: 19.22 kB / 0.5773 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.6529, allocations: 8 kB / 0.5773 GB, free: 332 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003791/0.6533, allocations: 318.5 kB / 0.5776 GB, free: 88 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6533, allocations: 0 / 0.5776 GB, free: 88 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.6537, allocations: 59.17 kB / 0.5776 GB, free: 32 kB / 378.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.001218/0.6549, allocations: 475.7 kB / 0.5781 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.6553, allocations: 120.2 kB / 0.5782 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6553, allocations: 4 kB / 0.5782 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.6554, allocations: 60.27 kB / 0.5783 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.6559, allocations: 59.94 kB / 0.5783 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.6569, allocations: 0.5599 MB / 0.5789 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.6573, allocations: 0.7709 MB / 0.5796 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.6574, allocations: 37.52 kB / 0.5796 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.6575, allocations: 35.19 kB / 0.5797 GB, free: 14.04 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6575, allocations: 3.938 kB / 0.5797 GB, free: 14.04 MB / 394.7 MB Notification: Performance of Templates: time 0.007041/0.6646, allocations: 2.927 MB / 0.5825 GB, free: 11.13 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches