Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.36/1.36, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007955/0.0007955, allocations: 93.67 kB / 267.1 MB, free: 9.285 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.3223/0.3223, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.343e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 58.86 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4587, allocations: 87.62 MB / 0.5584 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.4589, allocations: 70.39 kB / 0.5585 GB, free: 16.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.4721, allocations: 5.685 MB / 0.564 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4721, allocations: 0.5469 kB / 0.564 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4721, allocations: 0 / 0.564 GB, free: 13.2 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.0003732/0.4725, allocations: 416.6 kB / 0.5644 GB, free: 12.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4726, allocations: 8.031 kB / 0.5644 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.4726, allocations: 23.25 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.4729, allocations: 219.5 kB / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4729, allocations: 4 kB / 0.5647 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4729, allocations: 3.188 kB / 0.5647 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.473, allocations: 60.3 kB / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4731, allocations: 0 / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4731, allocations: 1.375 kB / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4731, allocations: 0 / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.4732, allocations: 19.36 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.4735, allocations: 311.7 kB / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.4736, allocations: 61.11 kB / 0.5651 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.4736, allocations: 16.17 kB / 0.5651 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.4737, allocations: 4 kB / 0.5651 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.4738, allocations: 72.14 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4738, allocations: 3.938 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004063/0.4742, allocations: 174 kB / 0.5653 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.4742, allocations: 51.41 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4744, allocations: 239.2 kB / 0.5656 GB, free: 11.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.4745, allocations: 25.7 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.4745, allocations: 112.8 kB / 0.5658 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.4745, allocations: 26.64 kB / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.4745, allocations: 4 kB / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.4746, allocations: 326 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.4746, allocations: 18.38 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.4747, allocations: 42.02 kB / 0.5662 GB, free: 10.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.4747, allocations: 22.56 kB / 0.5662 GB, free: 10.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4747, allocations: 3.984 kB / 0.5662 GB, free: 10.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001208/0.4749, allocations: 99.69 kB / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4749, allocations: 8.031 kB / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4749, allocations: 0 / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4749, allocations: 0 / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.475, allocations: 23.92 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.475, allocations: 3.953 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.4751, allocations: 4 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.4751, allocations: 0 / 0.5663 GB, free: 10.84 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 () * 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 4.361e-05/0.4751, allocations: 109.5 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.4752, allocations: 15.81 kB / 0.5664 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.4753, allocations: 123.4 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4754, allocations: 5.406 kB / 0.5666 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4754, allocations: 0 / 0.5666 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4754, allocations: 7.938 kB / 0.5666 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.4757, allocations: 425 kB / 0.567 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4757, allocations: 0 / 0.567 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.4758, allocations: 12 kB / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4758, allocations: 32 / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4758, allocations: 10.67 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4758, allocations: 7.953 kB / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4758, allocations: 3.938 kB / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.476, allocations: 214.1 kB / 0.5672 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.476, allocations: 108.2 kB / 0.5673 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.476, allocations: 7.891 kB / 0.5673 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.4761, allocations: 11.5 kB / 0.5673 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.4762, allocations: 7.984 kB / 0.5673 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.4762, allocations: 192 / 0.5673 GB, free: 9.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.4763, allocations: 199.7 kB / 0.5675 GB, free: 9.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4763, allocations: 0 / 0.5675 GB, free: 9.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.4765, allocations: 35.62 kB / 0.5676 GB, free: 9.598 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) * 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.0008328/0.4774, allocations: 431.6 kB / 0.568 GB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.4775, allocations: 57.44 kB / 0.568 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4775, allocations: 0 / 0.568 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.4776, allocations: 38.73 kB / 0.5681 GB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4778, allocations: 27.91 kB / 0.5681 GB, free: 9.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.4782, allocations: 219.6 kB / 0.5683 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4783, allocations: 0.716 MB / 0.569 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.068e-05/0.4783, allocations: 24.09 kB / 0.569 GB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.4784, allocations: 19.44 kB / 0.569 GB, free: 8.156 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4784, allocations: 4 kB / 0.569 GB, free: 8.152 MB / 394.7 MB Notification: Performance of Templates: time 0.00354/0.4819, allocations: 1.836 MB / 0.5708 GB, free: 6.332 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches