Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000962/0.000962, allocations: 176.2 kB / 16.76 MB, free: 5.031 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.864/1.864, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007704/0.0007705, allocations: 93.34 kB / 271.3 MB, free: 8.258 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.4125/0.4125, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 24 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5599, allocations: 87.76 MB / 0.5657 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5601, allocations: 75.95 kB / 0.5657 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.5757, allocations: 5.337 MB / 0.571 GB, free: 8.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5758, allocations: 0 / 0.571 GB, free: 8.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.5758, allocations: 4 kB / 0.571 GB, free: 8.855 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.0006191/0.5764, allocations: 415 kB / 0.5714 GB, free: 8.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5765, allocations: 8.031 kB / 0.5714 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.5766, allocations: 12.84 kB / 0.5714 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.5769, allocations: 217.5 kB / 0.5716 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.5769, allocations: 384 / 0.5716 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.577, allocations: 8.375 kB / 0.5716 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.5772, allocations: 66.09 kB / 0.5716 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5772, allocations: 192 / 0.5716 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5772, allocations: 3.938 kB / 0.5717 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.5772, allocations: 4 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.5773, allocations: 15.98 kB / 0.5717 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.5778, allocations: 288.9 kB / 0.5719 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.578, allocations: 70.53 kB / 0.572 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.5781, allocations: 24.84 kB / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5781, allocations: 0 / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.5783, allocations: 71.3 kB / 0.5721 GB, free: 7.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.5783, allocations: 4 kB / 0.5721 GB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.5789, allocations: 173.3 kB / 0.5723 GB, free: 7.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5789, allocations: 51.41 kB / 0.5723 GB, free: 7.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5791, allocations: 174.2 kB / 0.5725 GB, free: 7.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5792, allocations: 33.7 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.5792, allocations: 96.14 kB / 0.5726 GB, free: 6.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5793, allocations: 23.7 kB / 0.5726 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.5793, allocations: 4 kB / 0.5726 GB, free: 6.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5794, allocations: 326.8 kB / 0.573 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.5795, allocations: 19.98 kB / 0.573 GB, free: 6.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.5796, allocations: 41.64 kB / 0.573 GB, free: 6.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.5797, allocations: 58.45 kB / 0.5731 GB, free: 6.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5797, allocations: 0 / 0.5731 GB, free: 6.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002528/0.58, allocations: 105.4 kB / 0.5732 GB, free: 6.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.58, allocations: 4 kB / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.58, allocations: 0 / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.58, allocations: 4 kB / 0.5732 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.5801, allocations: 15.98 kB / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5801, allocations: 0 / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.5802, allocations: 8.188 kB / 0.5732 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5802, allocations: 4 kB / 0.5732 GB, free: 6.328 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.0001127/0.5803, allocations: 137.7 kB / 0.5733 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.5803, allocations: 7.906 kB / 0.5733 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.5806, allocations: 118.3 kB / 0.5735 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.5806, allocations: 0 / 0.5735 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5806, allocations: 0 / 0.5735 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5807, allocations: 0 / 0.5735 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.5812, allocations: 419.1 kB / 0.5739 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5812, allocations: 4.031 kB / 0.5739 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.5813, allocations: 13.3 kB / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5813, allocations: 0 / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5813, allocations: 7.938 kB / 0.5739 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5814, allocations: 0 / 0.5739 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5814, allocations: 3.938 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.5817, allocations: 208.2 kB / 0.5741 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.5818, allocations: 93 kB / 0.5742 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.5818, allocations: 4 kB / 0.5742 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.5819, allocations: 4 kB / 0.5742 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.582, allocations: 11.92 kB / 0.5742 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.582, allocations: 4.875 kB / 0.5742 GB, free: 5.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.5821, allocations: 133.5 kB / 0.5743 GB, free: 5.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5821, allocations: 0 / 0.5743 GB, free: 5.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.5824, allocations: 28 kB / 0.5743 GB, free: 5.043 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.001163/0.5836, allocations: 485.4 kB / 0.5748 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.5838, allocations: 63.89 kB / 0.5749 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5838, allocations: 0 / 0.5749 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.5839, allocations: 36.05 kB / 0.5749 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5843, allocations: 32.48 kB / 0.5749 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.5848, allocations: 240.6 kB / 0.5752 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5852, allocations: 0.7004 MB / 0.5758 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.5852, allocations: 16.56 kB / 0.5759 GB, free: 3.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.5853, allocations: 19.42 kB / 0.5759 GB, free: 3.52 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5853, allocations: 0 / 0.5759 GB, free: 3.52 MB / 394.7 MB Notification: Performance of Templates: time 0.004868/0.5902, allocations: 1.679 MB / 0.5775 GB, free: 1.855 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches