Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 178.3 kB / 18.09 MB, free: 3.746 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.307/1.307, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0008086/0.0008087, allocations: 86.27 kB / 293.3 MB, free: 10.78 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.3303/0.3303, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003812, allocations: 20 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 61.88 MB / 0.5107 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4055, allocations: 89.55 MB / 0.5982 GB, free: 5.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4058, allocations: 83.94 kB / 0.5983 GB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.4219, allocations: 6.42 MB / 0.6045 GB, free: 15.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4219, allocations: 0 / 0.6045 GB, free: 15.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.422, allocations: 4 kB / 0.6045 GB, free: 15.01 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005427/0.4225, allocations: 427 kB / 0.6049 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4226, allocations: 12.03 kB / 0.605 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.4226, allocations: 8.844 kB / 0.605 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.4229, allocations: 210.2 kB / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4229, allocations: 4.375 kB / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.423, allocations: 384 / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.4232, allocations: 91.42 kB / 0.6053 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4232, allocations: 0 / 0.6053 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4232, allocations: 4 kB / 0.6053 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4232, allocations: 3.938 kB / 0.6053 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.4233, allocations: 35.97 kB / 0.6053 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.4237, allocations: 296.8 kB / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4239, allocations: 82.58 kB / 0.6057 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.424, allocations: 24.86 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.424, allocations: 0 / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.4242, allocations: 79.31 kB / 0.6058 GB, free: 13.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4242, allocations: 0 / 0.6058 GB, free: 13.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005362/0.4247, allocations: 213.7 kB / 0.606 GB, free: 13.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.4248, allocations: 81.11 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.425, allocations: 171.5 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.425, allocations: 33.62 kB / 0.6062 GB, free: 13.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.4251, allocations: 96.14 kB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4251, allocations: 27.64 kB / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4251, allocations: 0 / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4253, allocations: 322.8 kB / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.4253, allocations: 31.98 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.4254, allocations: 46.56 kB / 0.6067 GB, free: 12.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4256, allocations: 69.7 kB / 0.6068 GB, free: 12.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4256, allocations: 0 / 0.6068 GB, free: 12.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002089/0.4258, allocations: 125.4 kB / 0.6069 GB, free: 12.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4258, allocations: 4 kB / 0.6069 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4258, allocations: 192 / 0.6069 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4258, allocations: 0 / 0.6069 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.4259, allocations: 23.92 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4259, allocations: 4.062 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.426, allocations: 11.94 kB / 0.607 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.426, allocations: 8 kB / 0.607 GB, free: 12.26 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 (11): * Single equations (assignments): 11 * 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 9.362e-05/0.4261, allocations: 122.4 kB / 0.6071 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.4261, allocations: 7.906 kB / 0.6071 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4264, allocations: 146.2 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4264, allocations: 0 / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4264, allocations: 4 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4264, allocations: 3.938 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4269, allocations: 435.3 kB / 0.6077 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4269, allocations: 0 / 0.6077 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.427, allocations: 19.94 kB / 0.6077 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.427, allocations: 3.938 kB / 0.6077 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.427, allocations: 3.984 kB / 0.6077 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.427, allocations: 4 kB / 0.6077 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.427, allocations: 4.031 kB / 0.6077 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4273, allocations: 224.1 kB / 0.6079 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.4274, allocations: 92.95 kB / 0.608 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.4274, allocations: 7.938 kB / 0.608 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.4275, allocations: 11.98 kB / 0.608 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.4275, allocations: 4 kB / 0.608 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.4275, allocations: 11.98 kB / 0.608 GB, free: 11.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.4276, allocations: 125.1 kB / 0.6082 GB, free: 10.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4277, allocations: 0 / 0.6082 GB, free: 10.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.4279, allocations: 39.94 kB / 0.6082 GB, free: 10.9 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 (11): * Single equations (assignments): 9 * 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.001094/0.429, allocations: 0.5133 MB / 0.6087 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4292, allocations: 75.91 kB / 0.6088 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4293, allocations: 0 / 0.6088 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.243e-05/0.4294, allocations: 43.98 kB / 0.6088 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.4297, allocations: 38.94 kB / 0.6088 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.4302, allocations: 234.4 kB / 0.6091 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4305, allocations: 0.7159 MB / 0.6098 GB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.923e-05/0.4305, allocations: 16.88 kB / 0.6098 GB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.4306, allocations: 19.42 kB / 0.6098 GB, free: 9.391 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4306, allocations: 0 / 0.6098 GB, free: 9.391 MB / 426.7 MB Notification: Performance of Templates: time 0.004374/0.435, allocations: 2.039 MB / 0.6118 GB, free: 7.375 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches