Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008212/0.0008213, allocations: 93.91 kB / 281.6 MB, free: 5.262 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.1807/0.1807, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.831e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.5402, allocations: 88.51 MB / 0.5811 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.5404, allocations: 71.95 kB / 0.5812 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.5555, allocations: 5.474 MB / 0.5865 GB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.281e-05/0.5556, allocations: 4 kB / 0.5865 GB, free: 2.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5556, allocations: 2.953 kB / 0.5865 GB, free: 2.438 MB / 394.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.0004805/0.5561, allocations: 404.1 kB / 0.5869 GB, free: 2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5562, allocations: 11.98 kB / 0.5869 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.5562, allocations: 7.906 kB / 0.5869 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.5565, allocations: 219.5 kB / 0.5872 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5565, allocations: 3.953 kB / 0.5872 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.5566, allocations: 4 kB / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.218e-05/0.5567, allocations: 15.98 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.5568, allocations: 57.61 kB / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.5568, allocations: 3.938 kB / 0.5872 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5568, allocations: 4 kB / 0.5872 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5568, allocations: 7.938 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.5572, allocations: 265.5 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5573, allocations: 46.69 kB / 0.5875 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.5573, allocations: 20.98 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.5574, allocations: 0 / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.5575, allocations: 71.33 kB / 0.5876 GB, free: 1.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5575, allocations: 4 kB / 0.5876 GB, free: 1.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004239/0.5579, allocations: 141.3 kB / 0.5878 GB, free: 1.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.558, allocations: 55.41 kB / 0.5878 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.5582, allocations: 187.5 kB / 0.588 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5582, allocations: 29.7 kB / 0.588 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.5583, allocations: 104.1 kB / 0.5881 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.5583, allocations: 23.66 kB / 0.5882 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5583, allocations: 0 / 0.5882 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5584, allocations: 322.8 kB / 0.5885 GB, free: 272 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.5585, allocations: 23.98 kB / 0.5885 GB, free: 248 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.5585, allocations: 29.72 kB / 0.5885 GB, free: 212 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.5586, allocations: 23.94 kB / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5586, allocations: 0 / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.5587, allocations: 93.53 kB / 0.5886 GB, free: 88 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5588, allocations: 4 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5588, allocations: 4 kB / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5588, allocations: 0 / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.5589, allocations: 15.98 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.5589, allocations: 0 / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.5589, allocations: 4 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.559, allocations: 4 kB / 0.5887 GB, free: 56 kB / 394.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 () * 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 8.839e-05/0.5591, allocations: 110.8 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.5591, allocations: 15.81 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.5593, allocations: 111.6 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5593, allocations: 0 / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5593, allocations: 96 / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5594, allocations: 7.922 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.5598, allocations: 391.8 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5598, allocations: 0 / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.5598, allocations: 11.98 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5598, allocations: 3.938 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5599, allocations: 7.938 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5599, allocations: 0 / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5599, allocations: 0 / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.5601, allocations: 217.8 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.5602, allocations: 97 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.5602, allocations: 0 / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.5603, allocations: 4 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.5603, allocations: 7.984 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.5604, allocations: 4 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.5605, allocations: 144 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5605, allocations: 0 / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.5608, allocations: 27.94 kB / 0.5898 GB, free: 14.82 MB / 410.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) * 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.0008731/0.5616, allocations: 394.4 kB / 0.5901 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.5618, allocations: 63.91 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5618, allocations: 0 / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.5619, allocations: 27.94 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.5621, allocations: 23.94 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.5625, allocations: 165.9 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.5629, allocations: 0.7158 MB / 0.5911 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.5629, allocations: 20.41 kB / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.563, allocations: 15.44 kB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.563, allocations: 0 / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of Templates: time 0.004173/0.5671, allocations: 1.648 MB / 0.5928 GB, free: 11.8 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches