Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2442/0.2442, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.6249, allocations: 87.55 MB / 0.5643 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.6252, allocations: 75.72 kB / 0.5643 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01967/0.6449, allocations: 5.549 MB / 0.5697 GB, free: 7.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6449, allocations: 0 / 0.5697 GB, free: 7.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.645, allocations: 4 kB / 0.5698 GB, free: 7.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007333/0.6457, allocations: 437.5 kB / 0.5702 GB, free: 7.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6458, allocations: 8.031 kB / 0.5702 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.6458, allocations: 15.81 kB / 0.5702 GB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.6463, allocations: 241.8 kB / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.6463, allocations: 0 / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.6464, allocations: 4 kB / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.6465, allocations: 45.42 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6465, allocations: 0 / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6466, allocations: 0 / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6466, allocations: 4 kB / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.6467, allocations: 15.8 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.647, allocations: 197.3 kB / 0.5707 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.6472, allocations: 56.62 kB / 0.5707 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.6472, allocations: 4.078 kB / 0.5707 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.6473, allocations: 62.45 kB / 0.5708 GB, free: 6.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.6474, allocations: 0 / 0.5708 GB, free: 6.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004061/0.6478, allocations: 107 kB / 0.5709 GB, free: 6.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6478, allocations: 59.41 kB / 0.571 GB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.6482, allocations: 234.5 kB / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.6482, allocations: 29.14 kB / 0.5712 GB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.6483, allocations: 110.4 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.6484, allocations: 15.38 kB / 0.5713 GB, free: 5.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.6484, allocations: 0 / 0.5713 GB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6486, allocations: 330.4 kB / 0.5716 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.6486, allocations: 15.06 kB / 0.5717 GB, free: 5.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.6487, allocations: 29.2 kB / 0.5717 GB, free: 5.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.067e-05/0.6488, allocations: 19.44 kB / 0.5717 GB, free: 5.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6488, allocations: 3.953 kB / 0.5717 GB, free: 5.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001677/0.649, allocations: 88.02 kB / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.649, allocations: 7.438 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.649, allocations: 0 / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.649, allocations: 4 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.6491, allocations: 8 kB / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.6491, allocations: 11.95 kB / 0.5718 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.6492, allocations: 7.906 kB / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.6492, allocations: 0 / 0.5718 GB, free: 5.34 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0001213/0.6493, allocations: 136.8 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6494, allocations: 15.86 kB / 0.572 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.6496, allocations: 100.2 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6496, allocations: 0 / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6496, allocations: 0 / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6496, allocations: 8 kB / 0.5721 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.6498, allocations: 203.5 kB / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6498, allocations: 0 / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.6499, allocations: 15.89 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6499, allocations: 7.922 kB / 0.5723 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.6499, allocations: 3.984 kB / 0.5723 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6499, allocations: 0 / 0.5723 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6499, allocations: 0 / 0.5723 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.6501, allocations: 122.3 kB / 0.5724 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.6502, allocations: 92.52 kB / 0.5725 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.6503, allocations: 16 kB / 0.5725 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.6503, allocations: 0 / 0.5725 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.6504, allocations: 4 kB / 0.5725 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.6504, allocations: 0 / 0.5725 GB, free: 4.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.6506, allocations: 203.8 kB / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6506, allocations: 0 / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.6508, allocations: 23 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009655/0.6518, allocations: 433.8 kB / 0.5731 GB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.652, allocations: 41.98 kB / 0.5732 GB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.652, allocations: 0 / 0.5732 GB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.652, allocations: 23.36 kB / 0.5732 GB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.6523, allocations: 30.08 kB / 0.5732 GB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.6528, allocations: 280.4 kB / 0.5735 GB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.6531, allocations: 0.7264 MB / 0.5742 GB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.6532, allocations: 16.98 kB / 0.5742 GB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.6533, allocations: 16.56 kB / 0.5742 GB, free: 2.891 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6533, allocations: 0 / 0.5742 GB, free: 2.891 MB / 378.7 MB Notification: Performance of Templates: time 0.004088/0.6574, allocations: 1.599 MB / 0.5758 GB, free: 1.305 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches