Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 178 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.668 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.000937/0.000937, allocations: 78.17 kB / 261.7 MB, free: 1.625 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.2095/0.2095, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.625e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/0.5536, allocations: 86.96 MB / 0.5509 GB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5539, allocations: 70.14 kB / 0.5509 GB, free: 7.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.5663, allocations: 5.284 MB / 0.5561 GB, free: 3.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5664, allocations: 0 / 0.5561 GB, free: 3.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5664, allocations: 7.547 kB / 0.5561 GB, free: 3.785 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.0003757/0.5668, allocations: 390.2 kB / 0.5565 GB, free: 3.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5669, allocations: 8.031 kB / 0.5565 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.5669, allocations: 7.906 kB / 0.5565 GB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.5672, allocations: 218.1 kB / 0.5567 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.5672, allocations: 4 kB / 0.5567 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5672, allocations: 11.66 kB / 0.5567 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.421e-05/0.5673, allocations: 11.69 kB / 0.5567 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.5674, allocations: 50.36 kB / 0.5568 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5674, allocations: 0 / 0.5568 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5675, allocations: 3.984 kB / 0.5568 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5675, allocations: 4 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.5678, allocations: 268.6 kB / 0.557 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.5679, allocations: 58.25 kB / 0.5571 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.5679, allocations: 16.55 kB / 0.5571 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5679, allocations: 4 kB / 0.5571 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.5681, allocations: 71.02 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5681, allocations: 0 / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004421/0.5685, allocations: 140.4 kB / 0.5573 GB, free: 2.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.5686, allocations: 59.41 kB / 0.5574 GB, free: 2.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.5687, allocations: 156.4 kB / 0.5575 GB, free: 2.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5687, allocations: 25.7 kB / 0.5575 GB, free: 2.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.5687, allocations: 99.94 kB / 0.5576 GB, free: 2.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.5688, allocations: 27.58 kB / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.5688, allocations: 0 / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.5688, allocations: 326.4 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.5689, allocations: 11.75 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.5689, allocations: 37.03 kB / 0.558 GB, free: 1.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.569, allocations: 23.8 kB / 0.558 GB, free: 1.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.569, allocations: 0 / 0.558 GB, free: 1.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.5691, allocations: 88.58 kB / 0.5581 GB, free: 1.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5691, allocations: 8 kB / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5691, allocations: 0 / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5691, allocations: 0 / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.5692, allocations: 19.98 kB / 0.5582 GB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5692, allocations: 7.969 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.5693, allocations: 0 / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.5693, allocations: 7.953 kB / 0.5582 GB, free: 1.625 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 6.238e-05/0.5694, allocations: 108.8 kB / 0.5583 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5694, allocations: 11.89 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.5696, allocations: 105.5 kB / 0.5584 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5696, allocations: 0 / 0.5584 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5696, allocations: 0 / 0.5584 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5696, allocations: 7.984 kB / 0.5584 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.5699, allocations: 373.9 kB / 0.5587 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5699, allocations: 4 kB / 0.5588 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.57, allocations: 8 kB / 0.5588 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.57, allocations: 288 / 0.5588 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.57, allocations: 0 / 0.5588 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.57, allocations: 7.984 kB / 0.5588 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.57, allocations: 3.938 kB / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.5702, allocations: 217.2 kB / 0.559 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.5702, allocations: 92.86 kB / 0.5591 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.5703, allocations: 4.188 kB / 0.5591 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.5703, allocations: 7.984 kB / 0.5591 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.5704, allocations: 11.02 kB / 0.5591 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5704, allocations: 8 kB / 0.5591 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.926e-05/0.5705, allocations: 128.6 kB / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5705, allocations: 0 / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.5707, allocations: 27.94 kB / 0.5592 GB, free: 0.5117 MB / 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.0008501/0.5716, allocations: 399.8 kB / 0.5596 GB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5717, allocations: 56.62 kB / 0.5597 GB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5717, allocations: 0 / 0.5597 GB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.5718, allocations: 26.25 kB / 0.5597 GB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.572, allocations: 23.66 kB / 0.5597 GB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.5724, allocations: 149.5 kB / 0.5599 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.5728, allocations: 0.7074 MB / 0.5606 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.5728, allocations: 12.55 kB / 0.5606 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.5729, allocations: 19.38 kB / 0.5606 GB, free: 15.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5729, allocations: 4 kB / 0.5606 GB, free: 15.17 MB / 378.7 MB Notification: Performance of Templates: time 0.004189/0.5771, allocations: 1.599 MB / 0.5622 GB, free: 13.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches