Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001353, 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.698/1.698, allocations: 205.3 MB / 213.7 MB, free: 1.672 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.0008542/0.0008544, allocations: 90.61 kB / 261.8 MB, free: 1.613 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.2132/0.2132, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.286e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 58.86 MB / 477.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5212, allocations: 87.06 MB / 0.551 GB, free: 7.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.5215, allocations: 76.83 kB / 0.551 GB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.5386, allocations: 7.449 MB / 0.5583 GB, free: 1.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5386, allocations: 0 / 0.5583 GB, free: 1.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.5386, allocations: 7.625 kB / 0.5583 GB, free: 1.891 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.0004711/0.5391, allocations: 468 kB / 0.5588 GB, free: 1.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5392, allocations: 16.03 kB / 0.5588 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.5392, allocations: 19.72 kB / 0.5588 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.5396, allocations: 278.8 kB / 0.5591 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5396, allocations: 7.984 kB / 0.5591 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.5397, allocations: 4 kB / 0.5591 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.919e-05/0.5398, allocations: 34.3 kB / 0.5591 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5399, allocations: 93.06 kB / 0.5592 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5399, allocations: 0 / 0.5592 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5399, allocations: 4 kB / 0.5592 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.54, allocations: 7.984 kB / 0.5592 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.5404, allocations: 422.4 kB / 0.5596 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.5405, allocations: 105.8 kB / 0.5597 GB, free: 428 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.5406, allocations: 35.22 kB / 0.5597 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.5406, allocations: 3.938 kB / 0.5598 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.5408, allocations: 118 kB / 0.5599 GB, free: 276 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.5408, allocations: 4 kB / 0.5599 GB, free: 272 kB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005614/0.5413, allocations: 300.5 kB / 0.5602 GB, free: 8 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.5414, allocations: 77.11 kB / 0.5602 GB, free: 15.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.5418, allocations: 309.8 kB / 0.5605 GB, free: 15.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.5419, allocations: 29.7 kB / 0.5606 GB, free: 15.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.542, allocations: 141.9 kB / 0.5607 GB, free: 15.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.542, allocations: 49.92 kB / 0.5607 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.542, allocations: 0 / 0.5607 GB, free: 15.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5422, allocations: 340.9 kB / 0.5611 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.5423, allocations: 33.44 kB / 0.5611 GB, free: 15.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.5423, allocations: 68.17 kB / 0.5612 GB, free: 15.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.5424, allocations: 42.06 kB / 0.5612 GB, free: 15.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5424, allocations: 0 / 0.5612 GB, free: 15.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002247/0.5427, allocations: 155.2 kB / 0.5613 GB, free: 14.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5427, allocations: 8.062 kB / 0.5614 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.5427, allocations: 7.953 kB / 0.5614 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5427, allocations: 0 / 0.5614 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.5429, allocations: 35.92 kB / 0.5614 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5429, allocations: 320 / 0.5614 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.543, allocations: 7.984 kB / 0.5614 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.543, allocations: 11.88 kB / 0.5614 GB, free: 14.85 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 9.9e-05/0.5431, allocations: 105 kB / 0.5615 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.5432, allocations: 27.72 kB / 0.5615 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.5435, allocations: 205.1 kB / 0.5617 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5435, allocations: 3.953 kB / 0.5617 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5435, allocations: 0 / 0.5617 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5435, allocations: 4 kB / 0.5617 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.5442, allocations: 0.6071 MB / 0.5623 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5443, allocations: 192 / 0.5623 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/0.5443, allocations: 28.31 kB / 0.5624 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5444, allocations: 7.875 kB / 0.5624 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5444, allocations: 4 kB / 0.5624 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.5444, allocations: 8 kB / 0.5624 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5444, allocations: 3.938 kB / 0.5624 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.5447, allocations: 404.2 kB / 0.5628 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/0.5448, allocations: 112.8 kB / 0.5629 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5449, allocations: 7.984 kB / 0.5629 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.545, allocations: 4 kB / 0.5629 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.5451, allocations: 15.42 kB / 0.5629 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.5451, allocations: 15.94 kB / 0.5629 GB, free: 13.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.5453, allocations: 248 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5453, allocations: 0 / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.5457, allocations: 51.92 kB / 0.5632 GB, free: 13.11 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.0008811/0.5466, allocations: 389.5 kB / 0.5636 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.5468, allocations: 107.1 kB / 0.5637 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5468, allocations: 0 / 0.5637 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.5469, allocations: 67.83 kB / 0.5637 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.5473, allocations: 56.27 kB / 0.5638 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.5479, allocations: 343 kB / 0.5641 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.5482, allocations: 0.7554 MB / 0.5649 GB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.632e-05/0.5483, allocations: 37.83 kB / 0.5649 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.5484, allocations: 27.25 kB / 0.5649 GB, free: 11.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5484, allocations: 3.938 kB / 0.5649 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Templates: time 0.005606/0.554, allocations: 2.642 MB / 0.5675 GB, free: 8.824 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches