Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 221.3 MB / 236 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008016/0.0008016, allocations: 95.8 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1858/0.1858, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.511e-05, allocations: 8.203 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.5108, allocations: 89.47 MB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.511, allocations: 75.95 kB / 0.5892 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.5315, allocations: 8.226 MB / 0.5972 GB, free: 7.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5315, allocations: 4 kB / 0.5972 GB, free: 7.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5315, allocations: 8 kB / 0.5972 GB, free: 7.539 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006019/0.5322, allocations: 0.4976 MB / 0.5977 GB, free: 6.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5322, allocations: 12.02 kB / 0.5977 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.5323, allocations: 23.72 kB / 0.5977 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.5328, allocations: 291.8 kB / 0.598 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.5328, allocations: 15.98 kB / 0.598 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.5328, allocations: 4 kB / 0.598 GB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.533, allocations: 111.3 kB / 0.5981 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.533, allocations: 0 / 0.5981 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.5331, allocations: 4 kB / 0.5981 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5331, allocations: 4 kB / 0.5981 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5332, allocations: 43.92 kB / 0.5982 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.5338, allocations: 0.489 MB / 0.5987 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.5341, allocations: 113.2 kB / 0.5988 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.5342, allocations: 41.84 kB / 0.5988 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5342, allocations: 15.88 kB / 0.5988 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.5344, allocations: 122.7 kB / 0.5989 GB, free: 5.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5344, allocations: 0 / 0.5989 GB, free: 5.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008391/0.5353, allocations: 431.7 kB / 0.5994 GB, free: 5.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.5353, allocations: 81.11 kB / 0.5994 GB, free: 5.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.5357, allocations: 394.5 kB / 0.5998 GB, free: 4.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5358, allocations: 33.7 kB / 0.5998 GB, free: 4.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.5359, allocations: 152.5 kB / 0.6 GB, free: 4.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.5359, allocations: 75 kB / 0.6001 GB, free: 4.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.536, allocations: 4 kB / 0.6001 GB, free: 4.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5361, allocations: 346.8 kB / 0.6004 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.5362, allocations: 55.98 kB / 0.6004 GB, free: 3.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.5363, allocations: 92.67 kB / 0.6005 GB, free: 3.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.5364, allocations: 62.72 kB / 0.6006 GB, free: 3.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5364, allocations: 0 / 0.6006 GB, free: 3.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000315/0.5367, allocations: 229.1 kB / 0.6008 GB, free: 3.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5368, allocations: 7.953 kB / 0.6008 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5368, allocations: 0 / 0.6008 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5368, allocations: 4 kB / 0.6008 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5369, allocations: 51.98 kB / 0.6009 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.537, allocations: 0 / 0.6009 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.537, allocations: 11.97 kB / 0.6009 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.5371, allocations: 12 kB / 0.6009 GB, free: 3.504 MB / 410.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 (26): * Single equations (assignments): 26 * 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.264e-05/0.5372, allocations: 124.9 kB / 0.601 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.5372, allocations: 27.62 kB / 0.601 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.5377, allocations: 278.1 kB / 0.6013 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5377, allocations: 8 kB / 0.6013 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5377, allocations: 0 / 0.6013 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.5377, allocations: 3.984 kB / 0.6013 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5388, allocations: 0.7897 MB / 0.6021 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5388, allocations: 192 / 0.6021 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.5389, allocations: 35.98 kB / 0.6021 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5389, allocations: 7.875 kB / 0.6021 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.5389, allocations: 8 kB / 0.6021 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5389, allocations: 7.938 kB / 0.6021 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5389, allocations: 4 kB / 0.6021 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.5394, allocations: 489.5 kB / 0.6026 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.5396, allocations: 128.7 kB / 0.6027 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5396, allocations: 11.98 kB / 0.6027 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5398, allocations: 12 kB / 0.6028 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.5399, allocations: 19.97 kB / 0.6028 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.5399, allocations: 8 kB / 0.6028 GB, free: 1.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003578/0.5402, allocations: 314.1 kB / 0.6031 GB, free: 1.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5403, allocations: 0 / 0.6031 GB, free: 1.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.5407, allocations: 67.92 kB / 0.6032 GB, free: 1.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.001243/0.542, allocations: 490.4 kB / 0.6036 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.5423, allocations: 151.7 kB / 0.6038 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.5423, allocations: 0 / 0.6038 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.5424, allocations: 83.86 kB / 0.6038 GB, free: 448 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.5429, allocations: 53.5 kB / 0.6039 GB, free: 392 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.5436, allocations: 463.4 kB / 0.6043 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.544, allocations: 0.7756 MB / 0.6051 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.5441, allocations: 54.05 kB / 0.6051 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.5442, allocations: 35.42 kB / 0.6052 GB, free: 15.01 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5442, allocations: 0 / 0.6052 GB, free: 15.01 MB / 426.7 MB Notification: Performance of Templates: time 0.01067/0.5549, allocations: 3.281 MB / 0.6084 GB, free: 11.75 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches