Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.736/1.736, allocations: 205.3 MB / 213.7 MB, free: 1.75 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.0009682/0.0009685, allocations: 86.62 kB / 261.8 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.2348/0.2348, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.869e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5376, allocations: 86.94 MB / 0.5509 GB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5379, allocations: 78.8 kB / 0.5509 GB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.5504, allocations: 5.445 MB / 0.5563 GB, free: 3.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5504, allocations: 0 / 0.5563 GB, free: 3.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.5504, allocations: 0 / 0.5563 GB, free: 3.668 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000359/0.5508, allocations: 400.4 kB / 0.5566 GB, free: 3.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5508, allocations: 12.03 kB / 0.5566 GB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.5509, allocations: 11.81 kB / 0.5567 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.5512, allocations: 221.4 kB / 0.5569 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5512, allocations: 0 / 0.5569 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.5513, allocations: 0 / 0.5569 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.003e-05/0.5514, allocations: 20.23 kB / 0.5569 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.5514, allocations: 56.73 kB / 0.5569 GB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5515, allocations: 3.984 kB / 0.5569 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5515, allocations: 0 / 0.5569 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5515, allocations: 4 kB / 0.5569 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.5518, allocations: 276.8 kB / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.39e-05/0.5519, allocations: 48 kB / 0.5573 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.5519, allocations: 19.3 kB / 0.5573 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.552, allocations: 3.938 kB / 0.5573 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.5521, allocations: 77.7 kB / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.5521, allocations: 0 / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004093/0.5525, allocations: 144.9 kB / 0.5575 GB, free: 2.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.5525, allocations: 59.33 kB / 0.5575 GB, free: 2.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5527, allocations: 184.8 kB / 0.5577 GB, free: 2.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.5527, allocations: 25.7 kB / 0.5577 GB, free: 2.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.5527, allocations: 102.4 kB / 0.5578 GB, free: 1.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.5528, allocations: 27.27 kB / 0.5579 GB, free: 1.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5528, allocations: 0 / 0.5579 GB, free: 1.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.5528, allocations: 326.1 kB / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.5529, allocations: 19.25 kB / 0.5582 GB, free: 1.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.5529, allocations: 28.72 kB / 0.5582 GB, free: 1.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.553, allocations: 21.98 kB / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.553, allocations: 0 / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001157/0.5531, allocations: 98.95 kB / 0.5583 GB, free: 1.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5531, allocations: 12.03 kB / 0.5584 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5531, allocations: 3.984 kB / 0.5584 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5531, allocations: 0 / 0.5584 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.5532, allocations: 12.19 kB / 0.5584 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5532, allocations: 8 kB / 0.5584 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.5533, allocations: 7.375 kB / 0.5584 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.5533, allocations: 11.94 kB / 0.5584 GB, free: 1.445 MB / 362.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 () * 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 5.816e-05/0.5534, allocations: 106.3 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.5534, allocations: 15.91 kB / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.5536, allocations: 111.7 kB / 0.5586 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5536, allocations: 0 / 0.5586 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5536, allocations: 4 kB / 0.5586 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5536, allocations: 0 / 0.5586 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.5539, allocations: 380.4 kB / 0.559 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5539, allocations: 4 kB / 0.559 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.554, allocations: 12.22 kB / 0.559 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.554, allocations: 4.031 kB / 0.559 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.554, allocations: 3.984 kB / 0.559 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.554, allocations: 7.938 kB / 0.559 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.554, allocations: 0 / 0.559 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.5541, allocations: 213.1 kB / 0.5592 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.5542, allocations: 96.86 kB / 0.5593 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.5542, allocations: 11.92 kB / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.5543, allocations: 4 kB / 0.5593 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.5543, allocations: 7.953 kB / 0.5593 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5543, allocations: 7.984 kB / 0.5593 GB, free: 468 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.459e-05/0.5544, allocations: 153.8 kB / 0.5595 GB, free: 340 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5545, allocations: 4 kB / 0.5595 GB, free: 336 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.5547, allocations: 28 kB / 0.5595 GB, free: 308 kB / 362.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) * 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.0008493/0.5556, allocations: 391.3 kB / 0.5599 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.5557, allocations: 60.83 kB / 0.56 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5557, allocations: 0 / 0.56 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.5558, allocations: 34.56 kB / 0.56 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.556, allocations: 24.09 kB / 0.56 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.5564, allocations: 176.8 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.5567, allocations: 0.7154 MB / 0.5609 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.5568, allocations: 20.55 kB / 0.5609 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.5568, allocations: 15.44 kB / 0.5609 GB, free: 14.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5569, allocations: 0 / 0.5609 GB, free: 14.93 MB / 378.7 MB Notification: Performance of Templates: time 0.004129/0.561, allocations: 1.656 MB / 0.5625 GB, free: 13.29 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches