Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.0008729, allocations: 82.62 kB / 261.7 MB, free: 1.684 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.2114/0.2114, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.409e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5285, allocations: 87.06 MB / 0.551 GB, free: 7.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5288, allocations: 75.89 kB / 0.551 GB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.5464, allocations: 7.616 MB / 0.5585 GB, free: 1.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5465, allocations: 3.938 kB / 0.5585 GB, free: 1.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.5465, allocations: 4 kB / 0.5585 GB, free: 1.789 MB / 362.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.0007586/0.5473, allocations: 491 kB / 0.5589 GB, free: 1.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5474, allocations: 8.031 kB / 0.559 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.5475, allocations: 35.67 kB / 0.559 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.548, allocations: 295.7 kB / 0.5593 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5481, allocations: 4 kB / 0.5593 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.5481, allocations: 4 kB / 0.5593 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001363/0.5483, allocations: 34.05 kB / 0.5593 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.5484, allocations: 93.92 kB / 0.5594 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5485, allocations: 0 / 0.5594 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5485, allocations: 0 / 0.5594 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.5485, allocations: 15.94 kB / 0.5594 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.5492, allocations: 434.8 kB / 0.5598 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.5494, allocations: 106.8 kB / 0.5599 GB, free: 280 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.5494, allocations: 33.53 kB / 0.56 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5495, allocations: 0 / 0.56 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.5496, allocations: 111.4 kB / 0.5601 GB, free: 132 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.5497, allocations: 0 / 0.5601 GB, free: 132 kB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008276/0.5505, allocations: 323.7 kB / 0.5604 GB, free: 15.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.5506, allocations: 77.11 kB / 0.5605 GB, free: 15.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.551, allocations: 377.2 kB / 0.5608 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.5511, allocations: 29.7 kB / 0.5608 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.5512, allocations: 147.1 kB / 0.561 GB, free: 15.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.5512, allocations: 51.05 kB / 0.561 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.5513, allocations: 0 / 0.561 GB, free: 15.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5514, allocations: 345.4 kB / 0.5614 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.5515, allocations: 37.31 kB / 0.5614 GB, free: 14.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.5516, allocations: 65.05 kB / 0.5615 GB, free: 14.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.5517, allocations: 38.73 kB / 0.5615 GB, free: 14.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5517, allocations: 4 kB / 0.5615 GB, free: 14.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002555/0.5519, allocations: 165.2 kB / 0.5617 GB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.552, allocations: 8.062 kB / 0.5617 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.552, allocations: 4 kB / 0.5617 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.552, allocations: 3.984 kB / 0.5617 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.5522, allocations: 35.92 kB / 0.5617 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5522, allocations: 320 / 0.5617 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.5523, allocations: 8 kB / 0.5617 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.5523, allocations: 4 kB / 0.5617 GB, free: 14.63 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 () * 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.0001071/0.5524, allocations: 112.8 kB / 0.5618 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.5525, allocations: 31.67 kB / 0.5619 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.5528, allocations: 208 kB / 0.5621 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.5529, allocations: 4 kB / 0.5621 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.5529, allocations: 0 / 0.5621 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.5529, allocations: 3.984 kB / 0.5621 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.554, allocations: 0.631 MB / 0.5627 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.554, allocations: 4.062 kB / 0.5627 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.5542, allocations: 27.98 kB / 0.5627 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.5542, allocations: 0 / 0.5627 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.5542, allocations: 7.938 kB / 0.5627 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5542, allocations: 0 / 0.5627 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.5543, allocations: 7.984 kB / 0.5627 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.5548, allocations: 397.9 kB / 0.5631 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.555, allocations: 127.8 kB / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.5551, allocations: 4 kB / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.5553, allocations: 4 kB / 0.5632 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.5554, allocations: 23.5 kB / 0.5633 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5554, allocations: 7.984 kB / 0.5633 GB, free: 13.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004689/0.5559, allocations: 302.1 kB / 0.5636 GB, free: 12.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5559, allocations: 0 / 0.5636 GB, free: 12.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005412/0.5565, allocations: 47.94 kB / 0.5636 GB, free: 12.83 MB / 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) * 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.001341/0.5578, allocations: 412.8 kB / 0.564 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.5581, allocations: 100.4 kB / 0.5641 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5581, allocations: 0 / 0.5641 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.5583, allocations: 56.06 kB / 0.5641 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.5589, allocations: 59.05 kB / 0.5642 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5599, allocations: 405 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.5605, allocations: 0.7705 MB / 0.5653 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.5606, allocations: 36.97 kB / 0.5654 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.5607, allocations: 34.98 kB / 0.5654 GB, free: 11.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.557e-06/0.5608, allocations: 0 / 0.5654 GB, free: 11.09 MB / 378.7 MB Notification: Performance of Templates: time 0.009212/0.57, allocations: 2.764 MB / 0.5681 GB, free: 8.348 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches