Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.283/1.283, allocations: 223.2 MB / 241 MB, free: 11.85 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.0008845/0.0008845, allocations: 98.03 kB / 292.1 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.3568/0.3568, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3997, allocations: 61.89 MB / 0.5096 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.527, allocations: 89.07 MB / 0.5965 GB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.5274, allocations: 79.92 kB / 0.5966 GB, free: 6.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01456/0.542, allocations: 5.326 MB / 0.6018 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.542, allocations: 0 / 0.6018 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.542, allocations: 0 / 0.6018 GB, free: 0.6797 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.0005202/0.5425, allocations: 410.9 kB / 0.6022 GB, free: 236 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5426, allocations: 12.02 kB / 0.6022 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.5427, allocations: 7.906 kB / 0.6022 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.543, allocations: 212.9 kB / 0.6024 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.543, allocations: 4 kB / 0.6024 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.543, allocations: 3.781 kB / 0.6024 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.5432, allocations: 45.67 kB / 0.6025 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.5432, allocations: 4 kB / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5432, allocations: 0 / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.5432, allocations: 4 kB / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.5433, allocations: 15.98 kB / 0.6025 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.5435, allocations: 181.6 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.5437, allocations: 62.55 kB / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.5437, allocations: 0 / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.5439, allocations: 71.44 kB / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.5439, allocations: 0 / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002967/0.5442, allocations: 97.52 kB / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.5443, allocations: 51.41 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.5444, allocations: 161 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.5445, allocations: 29.7 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.5445, allocations: 96.12 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.5446, allocations: 19.75 kB / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.5446, allocations: 4 kB / 0.6032 GB, free: 15.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5447, allocations: 326.8 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.5448, allocations: 15.98 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.221e-05/0.5448, allocations: 29.7 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.5449, allocations: 16 kB / 0.6036 GB, free: 14.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5449, allocations: 0 / 0.6036 GB, free: 14.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001473/0.5451, allocations: 89.55 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5451, allocations: 11.95 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5451, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5451, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.5452, allocations: 8 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5452, allocations: 160 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.5453, allocations: 4 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5453, allocations: 11.97 kB / 0.6037 GB, free: 14.5 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.0001011/0.5454, allocations: 122.3 kB / 0.6038 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.5454, allocations: 15.81 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.5456, allocations: 97.92 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5456, allocations: 0 / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5456, allocations: 4.375 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5457, allocations: 3.984 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.5458, allocations: 193.6 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5458, allocations: 0 / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.5459, allocations: 4 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5459, allocations: 0 / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5459, allocations: 0 / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5459, allocations: 11.89 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5459, allocations: 0 / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.5461, allocations: 113 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.5462, allocations: 97 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.5462, allocations: 0 / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.5463, allocations: 4 kB / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.5463, allocations: 7.938 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.5463, allocations: 8 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.5465, allocations: 127.2 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5465, allocations: 0 / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.5467, allocations: 31.92 kB / 0.6045 GB, free: 13.57 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.001039/0.5477, allocations: 410 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.5479, allocations: 47.92 kB / 0.605 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5479, allocations: 0 / 0.605 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.291e-05/0.548, allocations: 24.05 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.5482, allocations: 27.92 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.5487, allocations: 201 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.549, allocations: 0.7121 MB / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.5491, allocations: 10.83 kB / 0.6059 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.5491, allocations: 15.44 kB / 0.6059 GB, free: 12.24 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5491, allocations: 0 / 0.6059 GB, free: 12.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003908/0.553, allocations: 1.446 MB / 0.6073 GB, free: 10.81 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches