Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 170.3 kB / 16.76 MB, free: 4.926 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.735/1.735, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007674/0.0007674, allocations: 86.02 kB / 271.3 MB, free: 8.242 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.4468/0.4468, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 16 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.5043, allocations: 87.98 MB / 0.5659 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5047, allocations: 83.94 kB / 0.566 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01777/0.5225, allocations: 5.97 MB / 0.5718 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.5225, allocations: 0 / 0.5718 GB, free: 7.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.5226, allocations: 0.7656 kB / 0.5718 GB, free: 7.984 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006212/0.5232, allocations: 410 kB / 0.5722 GB, free: 7.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.5233, allocations: 12.02 kB / 0.5722 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.5233, allocations: 8.844 kB / 0.5722 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.5236, allocations: 208.1 kB / 0.5724 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5237, allocations: 4.375 kB / 0.5724 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.5237, allocations: 4.359 kB / 0.5724 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.5239, allocations: 75.83 kB / 0.5725 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5239, allocations: 192 / 0.5725 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.5239, allocations: 11.94 kB / 0.5725 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5239, allocations: 4 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.524, allocations: 16.86 kB / 0.5725 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.5245, allocations: 288.8 kB / 0.5728 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.5247, allocations: 66.55 kB / 0.5729 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.5247, allocations: 20.86 kB / 0.5729 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.5248, allocations: 0 / 0.5729 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.525, allocations: 75.38 kB / 0.5729 GB, free: 6.637 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.525, allocations: 0 / 0.5729 GB, free: 6.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005929/0.5256, allocations: 177.3 kB / 0.5731 GB, free: 6.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.5256, allocations: 77.11 kB / 0.5732 GB, free: 6.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.5258, allocations: 162.6 kB / 0.5733 GB, free: 6.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.5258, allocations: 33.69 kB / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.5259, allocations: 92.14 kB / 0.5735 GB, free: 6.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5259, allocations: 23.7 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-06/0.5259, allocations: 0 / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5261, allocations: 326.8 kB / 0.5738 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.5261, allocations: 19.94 kB / 0.5738 GB, free: 5.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.5262, allocations: 42.56 kB / 0.5739 GB, free: 5.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5263, allocations: 66.48 kB / 0.5739 GB, free: 5.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5264, allocations: 0 / 0.5739 GB, free: 5.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.5266, allocations: 97.52 kB / 0.574 GB, free: 5.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5266, allocations: 4 kB / 0.574 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5266, allocations: 4 kB / 0.574 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5266, allocations: 0 / 0.574 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.5267, allocations: 19.98 kB / 0.574 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5267, allocations: 4.031 kB / 0.574 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.5268, allocations: 8.125 kB / 0.5741 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.5268, allocations: 4 kB / 0.5741 GB, free: 5.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001034/0.5269, allocations: 124.2 kB / 0.5742 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.527, allocations: 15.89 kB / 0.5742 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.5272, allocations: 114.3 kB / 0.5743 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.5272, allocations: 0 / 0.5743 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.5273, allocations: 0 / 0.5743 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5273, allocations: 11.94 kB / 0.5743 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.5278, allocations: 411.1 kB / 0.5747 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5278, allocations: 0 / 0.5747 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.5278, allocations: 8 kB / 0.5747 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5278, allocations: 4 kB / 0.5747 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5279, allocations: 3.984 kB / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.5279, allocations: 0 / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5279, allocations: 7.938 kB / 0.5747 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.5282, allocations: 208.3 kB / 0.5749 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.5282, allocations: 89 kB / 0.575 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.5283, allocations: 8 kB / 0.575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.5283, allocations: 0 / 0.575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.5284, allocations: 15.91 kB / 0.575 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.5284, allocations: 4.375 kB / 0.575 GB, free: 4.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5285, allocations: 129.5 kB / 0.5752 GB, free: 4.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.284e-06/0.5286, allocations: 0 / 0.5752 GB, free: 4.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.5289, allocations: 35.94 kB / 0.5752 GB, free: 4.156 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001142/0.53, allocations: 0.5097 MB / 0.5757 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.5302, allocations: 63.91 kB / 0.5758 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5302, allocations: 0 / 0.5758 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.5303, allocations: 28 kB / 0.5758 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.5306, allocations: 28.09 kB / 0.5758 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.5311, allocations: 220.1 kB / 0.576 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5314, allocations: 0.7004 MB / 0.5767 GB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.5315, allocations: 18.34 kB / 0.5767 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.5316, allocations: 19.44 kB / 0.5767 GB, free: 2.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5316, allocations: 0 / 0.5767 GB, free: 2.629 MB / 394.7 MB Notification: Performance of Templates: time 0.00463/0.5362, allocations: 1.906 MB / 0.5786 GB, free: 0.7383 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches