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.00101/0.00101, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.627/1.627, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007964/0.0007965, allocations: 89.42 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.3939/0.3939, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.00039, allocations: 16 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5625, allocations: 87.87 MB / 0.5658 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.5629, allocations: 78.17 kB / 0.5658 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02085/0.5838, allocations: 7.696 MB / 0.5734 GB, free: 6.246 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.5838, allocations: 0 / 0.5734 GB, free: 6.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.5839, allocations: 4 kB / 0.5734 GB, free: 6.242 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.0009585/0.5848, allocations: 0.5353 MB / 0.5739 GB, free: 5.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.5849, allocations: 8.031 kB / 0.5739 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.585, allocations: 32.56 kB / 0.5739 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.5856, allocations: 315.9 kB / 0.5742 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.5856, allocations: 4.375 kB / 0.5742 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.5857, allocations: 4.375 kB / 0.5742 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.5859, allocations: 104.5 kB / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5859, allocations: 192 / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.586, allocations: 7.938 kB / 0.5743 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.586, allocations: 7.984 kB / 0.5743 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.5861, allocations: 39.91 kB / 0.5744 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.5869, allocations: 461 kB / 0.5748 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.5872, allocations: 125.2 kB / 0.5749 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.5873, allocations: 45.69 kB / 0.575 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5873, allocations: 4 kB / 0.575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.5876, allocations: 113.8 kB / 0.5751 GB, free: 4.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.5876, allocations: 0 / 0.5751 GB, free: 4.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009195/0.5885, allocations: 376.5 kB / 0.5755 GB, free: 3.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.5886, allocations: 85.03 kB / 0.5755 GB, free: 3.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.5891, allocations: 424.5 kB / 0.5759 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5891, allocations: 29.7 kB / 0.576 GB, free: 3.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5892, allocations: 156.3 kB / 0.5761 GB, free: 3.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.5893, allocations: 47.3 kB / 0.5762 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.5893, allocations: 8 kB / 0.5762 GB, free: 3.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5895, allocations: 342.8 kB / 0.5765 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.5896, allocations: 43.41 kB / 0.5765 GB, free: 2.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.5897, allocations: 84.77 kB / 0.5766 GB, free: 2.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.5899, allocations: 123.5 kB / 0.5767 GB, free: 2.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5899, allocations: 0 / 0.5767 GB, free: 2.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003406/0.5903, allocations: 181.4 kB / 0.5769 GB, free: 2.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5903, allocations: 11.94 kB / 0.5769 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5903, allocations: 0 / 0.5769 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5903, allocations: 7.938 kB / 0.5769 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5905, allocations: 31.92 kB / 0.577 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5905, allocations: 4 kB / 0.577 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-05/0.5906, allocations: 16.11 kB / 0.577 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.5906, allocations: 8 kB / 0.577 GB, free: 2.25 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.0001547/0.5908, allocations: 170.2 kB / 0.5772 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.5908, allocations: 35.62 kB / 0.5772 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.5913, allocations: 216.1 kB / 0.5774 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5913, allocations: 0 / 0.5774 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5913, allocations: 4 kB / 0.5774 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5913, allocations: 0 / 0.5774 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.5921, allocations: 0.6907 MB / 0.5781 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5922, allocations: 0 / 0.5781 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.5922, allocations: 19.98 kB / 0.5781 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5922, allocations: 4 kB / 0.5781 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.5923, allocations: 7.938 kB / 0.5781 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5923, allocations: 3.984 kB / 0.5781 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5923, allocations: 0 / 0.5781 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.5927, allocations: 392.1 kB / 0.5785 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.5928, allocations: 116.8 kB / 0.5786 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.5929, allocations: 15.92 kB / 0.5786 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.593, allocations: 8 kB / 0.5786 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.5931, allocations: 19.98 kB / 0.5786 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.5931, allocations: 7.984 kB / 0.5786 GB, free: 444 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003175/0.5934, allocations: 315 kB / 0.5789 GB, free: 132 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5934, allocations: 0 / 0.5789 GB, free: 132 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000343/0.5938, allocations: 59.94 kB / 0.579 GB, free: 72 kB / 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.001103/0.5949, allocations: 489.5 kB / 0.5795 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.5952, allocations: 119.8 kB / 0.5796 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5952, allocations: 0 / 0.5796 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.5953, allocations: 67.84 kB / 0.5796 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.5959, allocations: 57.8 kB / 0.5797 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.5968, allocations: 0.5511 MB / 0.5802 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.5972, allocations: 0.7635 MB / 0.581 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.5973, allocations: 46.14 kB / 0.581 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.5974, allocations: 31.38 kB / 0.5811 GB, free: 14.02 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.5974, allocations: 4 kB / 0.5811 GB, free: 14.01 MB / 410.7 MB Notification: Performance of Templates: time 0.006245/0.6036, allocations: 2.939 MB / 0.5839 GB, free: 11.09 MB / 410.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/jenkins1/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