Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.285/1.285, allocations: 223.2 MB / 241 MB, free: 11.86 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.0009087/0.0009088, allocations: 91.19 kB / 292.2 MB, free: 10.92 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.3405/0.3405, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004038, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3997, allocations: 61.9 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.531, allocations: 89.29 MB / 0.5968 GB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5313, allocations: 87.83 kB / 0.5968 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5468, allocations: 5.652 MB / 0.6024 GB, free: 128 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.5468, allocations: 0 / 0.6024 GB, free: 128 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5469, allocations: 0 / 0.6024 GB, free: 128 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.0006223/0.5475, allocations: 430.8 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.5476, allocations: 16.03 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.5476, allocations: 7.906 kB / 0.6028 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.548, allocations: 212.4 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.548, allocations: 7.891 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.5481, allocations: 4 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.5482, allocations: 53.67 kB / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5482, allocations: 0 / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.5483, allocations: 3.984 kB / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5483, allocations: 0 / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.5484, allocations: 27.92 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.5489, allocations: 292.9 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5491, allocations: 58.67 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5491, allocations: 0 / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.5493, allocations: 75.45 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5493, allocations: 0 / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006518/0.5499, allocations: 181.3 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.55, allocations: 59.39 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.5503, allocations: 182.4 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.5503, allocations: 29.7 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.5504, allocations: 104.1 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.5504, allocations: 27.64 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5504, allocations: 4 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5506, allocations: 331 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.5507, allocations: 12 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.5507, allocations: 41.7 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.5508, allocations: 23.98 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5508, allocations: 0 / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.551, allocations: 109.5 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.551, allocations: 4 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.551, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5511, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.5512, allocations: 24 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5512, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.5512, allocations: 7.984 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.5512, allocations: 0 / 0.6046 GB, free: 13.61 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.0001186/0.5514, allocations: 130.3 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.5514, allocations: 15.84 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.5517, allocations: 123 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5517, allocations: 4 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5517, allocations: 3.938 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5517, allocations: 0 / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.5522, allocations: 411.3 kB / 0.6052 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5522, allocations: 4.031 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.5523, allocations: 15.98 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5523, allocations: 0 / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5523, allocations: 0 / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5523, allocations: 4.234 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5523, allocations: 288 / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5526, allocations: 245.7 kB / 0.6055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.5526, allocations: 93 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.5527, allocations: 4 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.5528, allocations: 7.984 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.5528, allocations: 7.984 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.5528, allocations: 7.891 kB / 0.6056 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.553, allocations: 152.9 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.553, allocations: 0 / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.5532, allocations: 39.92 kB / 0.6058 GB, free: 12.25 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.001043/0.5543, allocations: 460.8 kB / 0.6062 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.5545, allocations: 67.89 kB / 0.6063 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5545, allocations: 4.062 kB / 0.6063 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.5546, allocations: 31.98 kB / 0.6063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.5549, allocations: 26.95 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.5553, allocations: 254.2 kB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.5556, allocations: 0.7082 MB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.5557, allocations: 20.86 kB / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.5557, allocations: 19.38 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5557, allocations: 0 / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Templates: time 0.00431/0.5601, allocations: 1.71 MB / 0.609 GB, free: 9.109 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches