Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009165/0.0009166, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.254/1.254, allocations: 223.2 MB / 241 MB, free: 11.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 93.66 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3241/0.3241, allocations: 44.22 MB / 387.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 15.98 kB / 459.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4032, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.5318, allocations: 89.3 MB / 0.5968 GB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.5321, allocations: 75.94 kB / 0.5968 GB, free: 5.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.5476, allocations: 5.765 MB / 0.6025 GB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5477, allocations: 3.938 kB / 0.6025 GB, free: 20 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.5477, allocations: 7.938 kB / 0.6025 GB, free: 12 kB / 410.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.0007684/0.5485, allocations: 426.8 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.5485, allocations: 12.03 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.5486, allocations: 11.91 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.549, allocations: 233.6 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.5491, allocations: 3.953 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.5491, allocations: 4 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.5493, allocations: 61.61 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.5493, allocations: 0 / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5493, allocations: 0 / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.5494, allocations: 0 / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.5494, allocations: 19.98 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.55, allocations: 304.9 kB / 0.6035 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.5502, allocations: 62.61 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5502, allocations: 0 / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.5504, allocations: 67.52 kB / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5504, allocations: 0 / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006814/0.5511, allocations: 185.1 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.5512, allocations: 51.41 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.5514, allocations: 201.8 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.5515, allocations: 29.7 kB / 0.6041 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5516, allocations: 108.1 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.5516, allocations: 19.66 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.5517, allocations: 4 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5518, allocations: 335 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.5519, allocations: 23.94 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.552, allocations: 37.64 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.238e-05/0.5521, allocations: 23.98 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5521, allocations: 0 / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.5522, allocations: 101.5 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5523, allocations: 12.66 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5523, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5523, allocations: 3.984 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.5524, allocations: 15.94 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5524, allocations: 4 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.5525, allocations: 0 / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.5525, allocations: 8 kB / 0.6048 GB, free: 13.46 MB / 426.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.0001106/0.5526, allocations: 130.5 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.5526, allocations: 15.84 kB / 0.6049 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.5529, allocations: 131 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5529, allocations: 0 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5529, allocations: 3.984 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5529, allocations: 0 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.5534, allocations: 427.2 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5534, allocations: 0 / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.5535, allocations: 8 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5535, allocations: 8.031 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5535, allocations: 4.312 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5535, allocations: 3.984 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5535, allocations: 8 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.5538, allocations: 226.2 kB / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.5539, allocations: 104.9 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.554, allocations: 96 / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.554, allocations: 7.938 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.5541, allocations: 7.984 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.5541, allocations: 11.95 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.5543, allocations: 168.3 kB / 0.606 GB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5543, allocations: 0 / 0.606 GB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.5545, allocations: 31.94 kB / 0.606 GB, free: 12.08 MB / 426.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.001151/0.5557, allocations: 480.7 kB / 0.6065 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.5559, allocations: 59.91 kB / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5559, allocations: 0 / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.556, allocations: 39.97 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5563, allocations: 34.61 kB / 0.6066 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.5568, allocations: 282.9 kB / 0.6068 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.5571, allocations: 0.7082 MB / 0.6075 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.5572, allocations: 16.55 kB / 0.6076 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.5573, allocations: 19.44 kB / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5573, allocations: 0 / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of Templates: time 0.004424/0.5617, allocations: 1.75 MB / 0.6093 GB, free: 8.844 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches