Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 169.1 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9279/0.9279, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.048e-05, allocations: 2.312 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002282/0.002302, allocations: 1.757 MB / 325.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003456, allocations: 1.017 MB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.003521, allocations: 0 / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.003766, allocations: 43.7 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.004038, allocations: 99.47 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.004214, allocations: 79.67 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.004359, allocations: 111.6 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.004428, allocations: 9.375 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.004508, allocations: 55.83 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.004574, allocations: 27.91 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.004588, allocations: 4 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.004661, allocations: 47.86 kB / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.004701, allocations: 23.86 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.004733, allocations: 23.91 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.004885, allocations: 103.7 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.004887, allocations: 3.938 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004888, allocations: 4 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.004891, allocations: 0 / 326.7 MB, free: 6.188 MB / 298.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.0003279/0.005219, allocations: 333.3 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.005245, allocations: 8.031 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.005271, allocations: 12.92 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.005416, allocations: 154.3 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.005428, allocations: 4.375 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.005444, allocations: 4.375 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.005536, allocations: 61.77 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005545, allocations: 3.938 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.005553, allocations: 11.98 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005558, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.005578, allocations: 4 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.005772, allocations: 173.8 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.005855, allocations: 85.36 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.005873, allocations: 8.859 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.005884, allocations: 4 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.934e-05/0.005963, allocations: 70.14 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.005964, allocations: 0 / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002563/0.00622, allocations: 117.5 kB / 327.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.006249, allocations: 51.41 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.006374, allocations: 193.6 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006388, allocations: 29.7 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.00642, allocations: 104 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.006443, allocations: 27.72 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.006473, allocations: 29.64 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.006541, allocations: 330.8 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.006558, allocations: 6.828 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.00658, allocations: 21.72 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.006621, allocations: 52.56 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006622, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.159e-05/0.006704, allocations: 76.38 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.006715, allocations: 8 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006719, allocations: 0 / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.00673, allocations: 0 / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.006787, allocations: 19.92 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.006789, allocations: 0 / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.006814, allocations: 4.375 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.00682, allocations: 8.031 kB / 328.7 MB, free: 4.027 MB / 298.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.006913, allocations: 115.3 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.006927, allocations: 19.91 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.007026, allocations: 75.08 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.007032, allocations: 7.984 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.007034, allocations: 4 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007038, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.007244, allocations: 295.4 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007246, allocations: 0 / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.007268, allocations: 12.03 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007271, allocations: 3.984 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007278, allocations: 4 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007279, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.00728, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.007374, allocations: 219 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.007386, allocations: 15.89 kB / 329.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.007402, allocations: 3.984 kB / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.00744, allocations: 4 kB / 329.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.007462, allocations: 7.984 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.007472, allocations: 8 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.007522, allocations: 60.23 kB / 329.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007522, allocations: 0 / 329.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.007671, allocations: 27.88 kB / 329.5 MB, free: 3.094 MB / 298.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.008846, allocations: 0.5784 MB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.00893, allocations: 40.83 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.008936, allocations: 4 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.008965, allocations: 20.8 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.009139, allocations: 39.91 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.009432, allocations: 238.5 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.009478, allocations: 75.27 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.539e-05/0.009514, allocations: 21.08 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.009577, allocations: 71.36 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009578, allocations: 0 / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of Templates: time 0.003506/0.01308, allocations: 2.015 MB / 332.6 MB, free: 288 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9664952433668077]