Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 179 kB / 18.09 MB, free: 3.75 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.352/1.352, allocations: 223.3 MB / 242.1 MB, free: 9.965 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.0008191/0.000819, allocations: 96.25 kB / 293.3 MB, free: 10.57 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.3521/0.3521, allocations: 44.15 MB / 388.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 16 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3758, allocations: 61.87 MB / 0.5107 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4949, allocations: 89.35 MB / 0.598 GB, free: 5.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4952, allocations: 71.95 kB / 0.5981 GB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.511, allocations: 6.072 MB / 0.604 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.511, allocations: 0 / 0.604 GB, free: 15.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.5111, allocations: 4 kB / 0.604 GB, free: 15.58 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006001/0.5117, allocations: 466.6 kB / 0.6044 GB, free: 15.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5117, allocations: 8.031 kB / 0.6044 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.5118, allocations: 16.75 kB / 0.6045 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.5122, allocations: 244 kB / 0.6047 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5122, allocations: 4.375 kB / 0.6047 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.5122, allocations: 4.375 kB / 0.6047 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.5124, allocations: 109.6 kB / 0.6048 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.5125, allocations: 192 / 0.6048 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.5125, allocations: 3.938 kB / 0.6048 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5125, allocations: 0 / 0.6048 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.5126, allocations: 35.97 kB / 0.6048 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.5128, allocations: 218.4 kB / 0.6051 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.5131, allocations: 113.2 kB / 0.6052 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.5132, allocations: 41.69 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5132, allocations: 4 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.5134, allocations: 117 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.5134, allocations: 0 / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004314/0.5139, allocations: 173.3 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.514, allocations: 132.5 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.5142, allocations: 215.8 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.5142, allocations: 37.69 kB / 0.6058 GB, free: 13.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.5143, allocations: 116.1 kB / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.5143, allocations: 27.66 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.5144, allocations: 0 / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5145, allocations: 331.1 kB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.5146, allocations: 27.98 kB / 0.6063 GB, free: 12.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5147, allocations: 82.44 kB / 0.6064 GB, free: 12.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5149, allocations: 91.36 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5149, allocations: 0 / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002636/0.5151, allocations: 141.4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5152, allocations: 7.938 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5152, allocations: 4.094 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5152, allocations: 4 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5153, allocations: 19.98 kB / 0.6067 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5153, allocations: 7.938 kB / 0.6067 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.5154, allocations: 15.89 kB / 0.6067 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5154, allocations: 4 kB / 0.6067 GB, free: 12.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001086/0.5156, allocations: 130.4 kB / 0.6068 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.5156, allocations: 19.75 kB / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.5159, allocations: 162.6 kB / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.516, allocations: 0 / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.516, allocations: 4 kB / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.516, allocations: 3.984 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.5162, allocations: 225.5 kB / 0.6072 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5162, allocations: 4 kB / 0.6072 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.5162, allocations: 8.25 kB / 0.6072 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.5162, allocations: 3.938 kB / 0.6072 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.5163, allocations: 12 kB / 0.6072 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5163, allocations: 7.938 kB / 0.6072 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5163, allocations: 0 / 0.6072 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.5166, allocations: 185.6 kB / 0.6074 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.5167, allocations: 100.9 kB / 0.6075 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.5167, allocations: 11.86 kB / 0.6075 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.5168, allocations: 12 kB / 0.6075 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.5168, allocations: 11.98 kB / 0.6076 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5169, allocations: 4 kB / 0.6076 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.517, allocations: 160.2 kB / 0.6077 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.517, allocations: 4 kB / 0.6077 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.5173, allocations: 39.94 kB / 0.6077 GB, free: 11.32 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000959/0.5183, allocations: 471.8 kB / 0.6082 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.5185, allocations: 83.89 kB / 0.6083 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5185, allocations: 0 / 0.6083 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5186, allocations: 47.92 kB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.519, allocations: 55.94 kB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.5195, allocations: 303.2 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5198, allocations: 0.7166 MB / 0.6094 GB, free: 9.781 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.52, allocations: 21.55 kB / 0.6094 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.52, allocations: 31.42 kB / 0.6094 GB, free: 9.727 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.52, allocations: 0 / 0.6094 GB, free: 9.727 MB / 426.7 MB Notification: Performance of Templates: time 0.005526/0.5256, allocations: 2.579 MB / 0.6119 GB, free: 7.176 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches