Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 171.5 kB / 16.76 MB, free: 5.043 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.87/1.87, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007875/0.0007878, allocations: 89.03 kB / 271.3 MB, free: 8.246 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.4095/0.4095, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004335, allocations: 20 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5618, allocations: 87.76 MB / 0.5657 GB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.562, allocations: 75.95 kB / 0.5657 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5775, allocations: 5.349 MB / 0.571 GB, free: 8.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5776, allocations: 0 / 0.571 GB, free: 8.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.5776, allocations: 0.7656 kB / 0.571 GB, free: 8.848 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006392/0.5782, allocations: 419 kB / 0.5714 GB, free: 8.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5783, allocations: 8.031 kB / 0.5714 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.5784, allocations: 8.844 kB / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.5787, allocations: 217.5 kB / 0.5716 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.5788, allocations: 384 / 0.5716 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.5788, allocations: 13.62 kB / 0.5716 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5789, allocations: 54.23 kB / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.579, allocations: 192 / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.579, allocations: 3.938 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.579, allocations: 3.938 kB / 0.5717 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.5791, allocations: 19.98 kB / 0.5717 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.5795, allocations: 284.9 kB / 0.5719 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.5797, allocations: 70.55 kB / 0.572 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.5798, allocations: 20.84 kB / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.5798, allocations: 4 kB / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.58, allocations: 72.16 kB / 0.5721 GB, free: 7.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.58, allocations: 0 / 0.5721 GB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000621/0.5806, allocations: 182.2 kB / 0.5723 GB, free: 7.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.5807, allocations: 55.41 kB / 0.5723 GB, free: 7.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.5809, allocations: 174.2 kB / 0.5725 GB, free: 7.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5809, allocations: 25.7 kB / 0.5725 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.581, allocations: 100.1 kB / 0.5726 GB, free: 6.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.581, allocations: 23.7 kB / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.581, allocations: 0 / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5812, allocations: 326.8 kB / 0.573 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.5812, allocations: 27.94 kB / 0.573 GB, free: 6.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.5813, allocations: 33.7 kB / 0.573 GB, free: 6.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5814, allocations: 65.77 kB / 0.5731 GB, free: 6.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5814, allocations: 0 / 0.5731 GB, free: 6.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.5816, allocations: 109.4 kB / 0.5732 GB, free: 6.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5817, allocations: 4.188 kB / 0.5732 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5817, allocations: 4.031 kB / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5817, allocations: 3.938 kB / 0.5732 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.5818, allocations: 19.98 kB / 0.5732 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5818, allocations: 0 / 0.5732 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.5818, allocations: 4 kB / 0.5732 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5819, allocations: 0 / 0.5732 GB, free: 6.312 MB / 394.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 () * Number of clocked 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 0.0001307/0.582, allocations: 137.4 kB / 0.5733 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.582, allocations: 7.906 kB / 0.5734 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.5823, allocations: 122.3 kB / 0.5735 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5823, allocations: 4 kB / 0.5735 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5823, allocations: 0 / 0.5735 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5823, allocations: 0 / 0.5735 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.5828, allocations: 411.1 kB / 0.5739 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5829, allocations: 0 / 0.5739 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.5829, allocations: 15.94 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5829, allocations: 4.031 kB / 0.5739 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5829, allocations: 7.984 kB / 0.5739 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5829, allocations: 4 kB / 0.5739 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.583, allocations: 3.938 kB / 0.5739 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.5832, allocations: 204.2 kB / 0.5741 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.5833, allocations: 89 kB / 0.5742 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.5833, allocations: 4 kB / 0.5742 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.5834, allocations: 8 kB / 0.5742 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.5835, allocations: 15.91 kB / 0.5742 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5835, allocations: 4 kB / 0.5742 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.5836, allocations: 133.5 kB / 0.5743 GB, free: 5.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5836, allocations: 0 / 0.5743 GB, free: 5.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.5839, allocations: 31.98 kB / 0.5744 GB, free: 5.02 MB / 394.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) * Number of clocked states: 0 () * 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.001089/0.585, allocations: 476.9 kB / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.5852, allocations: 67.89 kB / 0.5749 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5852, allocations: 0 / 0.5749 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.399e-05/0.5853, allocations: 32.14 kB / 0.5749 GB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.5857, allocations: 33.47 kB / 0.575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.5862, allocations: 236.5 kB / 0.5752 GB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.5865, allocations: 0.7083 MB / 0.5759 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.5866, allocations: 12.55 kB / 0.5759 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.5866, allocations: 15.44 kB / 0.5759 GB, free: 3.5 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5866, allocations: 0 / 0.5759 GB, free: 3.5 MB / 394.7 MB Notification: Performance of Templates: time 0.004627/0.5913, allocations: 1.675 MB / 0.5775 GB, free: 1.84 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches