Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.598/1.598, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008881/0.0008884, allocations: 94.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.6393, allocations: 87.68 MB / 0.5644 GB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6397, allocations: 80.73 kB / 0.5645 GB, free: 12.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.6547, allocations: 5.276 MB / 0.5696 GB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6547, allocations: 0 / 0.5696 GB, free: 7.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.6547, allocations: 0 / 0.5696 GB, free: 7.699 MB / 378.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.0006189/0.6554, allocations: 420.8 kB / 0.57 GB, free: 7.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6554, allocations: 12.03 kB / 0.57 GB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.6555, allocations: 7.906 kB / 0.57 GB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.6558, allocations: 221.8 kB / 0.5702 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6558, allocations: 0 / 0.5702 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.6558, allocations: 0 / 0.5702 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.656, allocations: 64.84 kB / 0.5703 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.656, allocations: 3.5 kB / 0.5703 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.6561, allocations: 0 / 0.5703 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6561, allocations: 0 / 0.5703 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.6562, allocations: 22.8 kB / 0.5703 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.6566, allocations: 296.3 kB / 0.5706 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.6568, allocations: 56.17 kB / 0.5707 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.6568, allocations: 3.938 kB / 0.5707 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.657, allocations: 73.02 kB / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.657, allocations: 3.938 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.6576, allocations: 170.3 kB / 0.5709 GB, free: 6.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.6576, allocations: 63.34 kB / 0.571 GB, free: 6.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.6578, allocations: 175.6 kB / 0.5711 GB, free: 6.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.6578, allocations: 29.52 kB / 0.5712 GB, free: 6.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.6579, allocations: 98.31 kB / 0.5713 GB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.6579, allocations: 31.58 kB / 0.5713 GB, free: 5.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.6579, allocations: 3.938 kB / 0.5713 GB, free: 5.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.658, allocations: 322.3 kB / 0.5716 GB, free: 5.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.6581, allocations: 22.48 kB / 0.5716 GB, free: 5.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.6582, allocations: 39.02 kB / 0.5717 GB, free: 5.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.6582, allocations: 19.12 kB / 0.5717 GB, free: 5.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6582, allocations: 0 / 0.5717 GB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.6584, allocations: 113 kB / 0.5718 GB, free: 5.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6584, allocations: 6.656 kB / 0.5718 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6585, allocations: 0 / 0.5718 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6585, allocations: 4 kB / 0.5718 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.6586, allocations: 15.98 kB / 0.5718 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6586, allocations: 0 / 0.5718 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.6586, allocations: 11.02 kB / 0.5718 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.6587, allocations: 4 kB / 0.5718 GB, free: 5.41 MB / 378.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.0001037/0.6588, allocations: 136.5 kB / 0.572 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.6588, allocations: 7.906 kB / 0.572 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.6591, allocations: 118.1 kB / 0.5721 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6591, allocations: 0 / 0.5721 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6591, allocations: 4 kB / 0.5721 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6591, allocations: 0 / 0.5721 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.6596, allocations: 418.7 kB / 0.5725 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6596, allocations: 4.031 kB / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.6596, allocations: 8 kB / 0.5725 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6596, allocations: 384 / 0.5725 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6596, allocations: 4 kB / 0.5725 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6596, allocations: 7.953 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6597, allocations: 0 / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.6599, allocations: 228.9 kB / 0.5727 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.66, allocations: 95.67 kB / 0.5728 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.66, allocations: 4.328 kB / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.6601, allocations: 7.984 kB / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.6601, allocations: 7.25 kB / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.6601, allocations: 3.984 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.6603, allocations: 145.4 kB / 0.573 GB, free: 4.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6603, allocations: 0 / 0.573 GB, free: 4.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000272/0.6606, allocations: 35.23 kB / 0.573 GB, free: 4.195 MB / 378.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.001061/0.6616, allocations: 479.8 kB / 0.5735 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.6618, allocations: 63.28 kB / 0.5735 GB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6619, allocations: 8 kB / 0.5735 GB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.6619, allocations: 31.05 kB / 0.5736 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6622, allocations: 20.92 kB / 0.5736 GB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.6627, allocations: 244.7 kB / 0.5738 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.6631, allocations: 0.7056 MB / 0.5745 GB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.6632, allocations: 13.05 kB / 0.5745 GB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.6632, allocations: 16.56 kB / 0.5745 GB, free: 2.672 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6632, allocations: 0 / 0.5745 GB, free: 2.672 MB / 378.7 MB Notification: Performance of Templates: time 0.004243/0.6675, allocations: 1.681 MB / 0.5762 GB, free: 1.012 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches