Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 183 kB / 18.09 MB, free: 3.727 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.324/1.324, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.000963/0.0009632, allocations: 102.2 kB / 293.3 MB, free: 10.77 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.3075/0.3075, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 20 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 61.88 MB / 0.5107 GB, free: 38.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.4262, allocations: 89.32 MB / 0.598 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4265, allocations: 75.95 kB / 0.598 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.4425, allocations: 5.729 MB / 0.6036 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4425, allocations: 0 / 0.6036 GB, free: 15.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.4426, allocations: 4 kB / 0.6036 GB, free: 15.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005208/0.4431, allocations: 415.1 kB / 0.604 GB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4431, allocations: 12.03 kB / 0.604 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.4432, allocations: 16.69 kB / 0.6041 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.4435, allocations: 226.2 kB / 0.6043 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4435, allocations: 8.375 kB / 0.6043 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4436, allocations: 384 / 0.6043 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4437, allocations: 58.23 kB / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4437, allocations: 4.094 kB / 0.6043 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4437, allocations: 3.938 kB / 0.6043 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4438, allocations: 0 / 0.6043 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.4438, allocations: 27.92 kB / 0.6044 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.4443, allocations: 292.9 kB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4444, allocations: 66.61 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.4445, allocations: 16.86 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.4445, allocations: 0 / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.4447, allocations: 71.38 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4447, allocations: 4 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005772/0.4453, allocations: 181.1 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4453, allocations: 51.41 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4455, allocations: 206.3 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.4456, allocations: 37.64 kB / 0.6053 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.4456, allocations: 108 kB / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4457, allocations: 15.81 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.4457, allocations: 0 / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4458, allocations: 331 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.4459, allocations: 23.98 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.446, allocations: 33.7 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4461, allocations: 65.69 kB / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4461, allocations: 0 / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.4463, allocations: 105.4 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4464, allocations: 9.125 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4464, allocations: 384 / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4464, allocations: 0 / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.4465, allocations: 23.94 kB / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4465, allocations: 4 kB / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.4466, allocations: 11.92 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4466, allocations: 0 / 0.606 GB, free: 13.32 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.0001126/0.4467, allocations: 131.9 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4467, allocations: 19.8 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.447, allocations: 126.9 kB / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.447, allocations: 288 / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4471, allocations: 0 / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4471, allocations: 3.984 kB / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.4476, allocations: 423.2 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4476, allocations: 4 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.4477, allocations: 8.031 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4477, allocations: 4 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4477, allocations: 0 / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4477, allocations: 4 kB / 0.6067 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4477, allocations: 3.938 kB / 0.6067 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.448, allocations: 220.4 kB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.4481, allocations: 93 kB / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4481, allocations: 8 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.4482, allocations: 4 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4483, allocations: 11.92 kB / 0.607 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4483, allocations: 7.938 kB / 0.607 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.4484, allocations: 155.2 kB / 0.6071 GB, free: 12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4484, allocations: 0 / 0.6071 GB, free: 12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.4487, allocations: 31.98 kB / 0.6072 GB, free: 11.97 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.001069/0.4498, allocations: 477.8 kB / 0.6076 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.45, allocations: 63.91 kB / 0.6077 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.45, allocations: 0 / 0.6077 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.4501, allocations: 27.94 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4504, allocations: 35.05 kB / 0.6077 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.4509, allocations: 278.2 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.4511, allocations: 0.7082 MB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.4512, allocations: 20.56 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4512, allocations: 19.42 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4513, allocations: 0 / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004141/0.4554, allocations: 1.75 MB / 0.6104 GB, free: 8.754 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches