Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 176.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.277/1.277, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008385/0.0008385, allocations: 97.45 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.3149/0.3149, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003638, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3253, allocations: 61.9 MB / 0.5096 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.441, allocations: 90.21 MB / 0.5977 GB, free: 4.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4413, allocations: 79.94 kB / 0.5977 GB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.4529, allocations: 4.377 MB / 0.602 GB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.453, allocations: 0 / 0.602 GB, free: 492 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.453, allocations: 4 kB / 0.602 GB, free: 488 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006199/0.4536, allocations: 480.5 kB / 0.6025 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4537, allocations: 8.031 kB / 0.6025 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.4537, allocations: 15.81 kB / 0.6025 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4541, allocations: 233 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4541, allocations: 7.953 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.4541, allocations: 8 kB / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.4544, allocations: 112.2 kB / 0.6028 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4544, allocations: 3.984 kB / 0.6028 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.4544, allocations: 4 kB / 0.6028 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4544, allocations: 4 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4546, allocations: 51.89 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.4552, allocations: 0.5205 MB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.4555, allocations: 94.61 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4555, allocations: 3.938 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.4557, allocations: 87.3 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4557, allocations: 3.938 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003916/0.4561, allocations: 153.5 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4562, allocations: 59.34 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.4564, allocations: 174.5 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4564, allocations: 29.7 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.4565, allocations: 115.9 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4565, allocations: 23.66 kB / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.4565, allocations: 4 kB / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4566, allocations: 334.8 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.4567, allocations: 31.98 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4568, allocations: 65.27 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.173e-05/0.4569, allocations: 39.98 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4569, allocations: 0 / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002505/0.4572, allocations: 145.3 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4572, allocations: 6.344 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4572, allocations: 0 / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4573, allocations: 8.125 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4574, allocations: 23.98 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4574, allocations: 0 / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.4575, allocations: 19.84 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.4575, allocations: 4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001012/0.4576, allocations: 138.2 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.4576, allocations: 11.91 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.4579, allocations: 139 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4579, allocations: 0 / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4579, allocations: 0 / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4579, allocations: 0 / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4581, allocations: 225.6 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4581, allocations: 0 / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.4582, allocations: 12 kB / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4582, allocations: 0 / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4583, allocations: 11.98 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4583, allocations: 0 / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4583, allocations: 4 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.4587, allocations: 196.7 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.4587, allocations: 93.03 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4588, allocations: 8.062 kB / 0.6056 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.4588, allocations: 7.984 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.4589, allocations: 8 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4589, allocations: 7.984 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.459, allocations: 137.2 kB / 0.6057 GB, free: 12.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.459, allocations: 0 / 0.6057 GB, free: 12.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.4593, allocations: 44.05 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009212/0.4602, allocations: 421.8 kB / 0.6062 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.4604, allocations: 83.89 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4604, allocations: 0 / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/0.4605, allocations: 39.92 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.4608, allocations: 48.61 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.4613, allocations: 301.8 kB / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4616, allocations: 0.7204 MB / 0.6073 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.4616, allocations: 21 kB / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.4617, allocations: 15.44 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4617, allocations: 0 / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.003866/0.4656, allocations: 1.782 MB / 0.6091 GB, free: 8.977 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches