Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 177.8 kB / 17.06 MB, free: 5.094 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.322/1.322, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008245/0.0008245, allocations: 95.05 kB / 292.2 MB, free: 10.91 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.4382/0.4382, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 12 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4098, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.542, allocations: 89.07 MB / 0.5966 GB, free: 6.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.5423, allocations: 79.94 kB / 0.5966 GB, free: 5.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01385/0.5561, allocations: 5.369 MB / 0.6019 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.253e-06/0.5562, allocations: 0 / 0.6019 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.5562, allocations: 0 / 0.6019 GB, free: 0.6094 MB / 410.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.0005557/0.5568, allocations: 410.8 kB / 0.6023 GB, free: 164 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5568, allocations: 8.031 kB / 0.6023 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.5569, allocations: 7.906 kB / 0.6023 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.5572, allocations: 215.9 kB / 0.6025 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.5573, allocations: 4 kB / 0.6025 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5573, allocations: 7.953 kB / 0.6025 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.5575, allocations: 45.67 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5575, allocations: 0 / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5575, allocations: 0 / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5575, allocations: 0 / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.5576, allocations: 19.98 kB / 0.6026 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.5578, allocations: 181.6 kB / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.558, allocations: 66.48 kB / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.558, allocations: 4 kB / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.5582, allocations: 67.44 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.5582, allocations: 0 / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003002/0.5585, allocations: 101.5 kB / 0.603 GB, free: 15.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5586, allocations: 51.41 kB / 0.603 GB, free: 15.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.5588, allocations: 175.1 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.5588, allocations: 25.7 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.5589, allocations: 100.1 kB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.5589, allocations: 19.78 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.5589, allocations: 0 / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5591, allocations: 322.8 kB / 0.6036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.5591, allocations: 12 kB / 0.6036 GB, free: 14.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.5592, allocations: 33.7 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.5592, allocations: 19.98 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5593, allocations: 0 / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001465/0.5594, allocations: 81.53 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5594, allocations: 4 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5595, allocations: 3.953 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5595, allocations: 7.984 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.5596, allocations: 11.98 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5596, allocations: 4.031 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.5596, allocations: 7.938 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5596, allocations: 8.031 kB / 0.6038 GB, free: 14.41 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 (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.0001076/0.5598, allocations: 130.4 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.5598, allocations: 7.906 kB / 0.6039 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.56, allocations: 93.88 kB / 0.604 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.56, allocations: 7.953 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.56, allocations: 0 / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.56, allocations: 4 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.5602, allocations: 185.6 kB / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5602, allocations: 0 / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.5603, allocations: 11.92 kB / 0.6042 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5603, allocations: 0 / 0.6042 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.5603, allocations: 8 kB / 0.6042 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5603, allocations: 0 / 0.6042 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5603, allocations: 7.891 kB / 0.6042 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.5605, allocations: 113.5 kB / 0.6044 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.5606, allocations: 93 kB / 0.6044 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.5606, allocations: 4 kB / 0.6044 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.5606, allocations: 4 kB / 0.6044 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5607, allocations: 7.953 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5607, allocations: 3.984 kB / 0.6045 GB, free: 13.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.5608, allocations: 144.1 kB / 0.6046 GB, free: 13.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5608, allocations: 0 / 0.6046 GB, free: 13.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00021/0.561, allocations: 27.92 kB / 0.6046 GB, free: 13.46 MB / 426.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.001023/0.5621, allocations: 420.3 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.5623, allocations: 43.98 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5623, allocations: 0 / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.5623, allocations: 27.92 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.5626, allocations: 23.98 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.563, allocations: 221.2 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5633, allocations: 0.7082 MB / 0.606 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.5634, allocations: 14.81 kB / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.5634, allocations: 19.44 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5634, allocations: 0 / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003836/0.5673, allocations: 1.468 MB / 0.6075 GB, free: 10.66 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches