Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001294/0.001294, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001408/0.001408, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9172/0.9172, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1312/0.1312, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.605e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002657/0.002683, allocations: 1.731 MB / 300.9 MB, free: 392 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1411/0.1438, allocations: 1.523 MB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.1439, allocations: 1.969 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1442, allocations: 39.64 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1445, allocations: 67.89 kB / 302.5 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1448, allocations: 85.81 kB / 302.6 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1449, allocations: 99.2 kB / 302.7 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.145, allocations: 6.344 kB / 302.7 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1451, allocations: 60.36 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1452, allocations: 25.05 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1453, allocations: 4.688 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1454, allocations: 63.16 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1454, allocations: 19.53 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.1455, allocations: 21.75 kB / 302.9 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1457, allocations: 112 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1457, allocations: 0 / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1457, allocations: 5 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1457, allocations: 0 / 303 MB, free: 19.07 MB / 282.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.0003954/0.1461, allocations: 303 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1462, allocations: 9.25 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.1462, allocations: 13.23 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1464, allocations: 137.2 kB / 303.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1464, allocations: 7.172 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1464, allocations: 3 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1466, allocations: 102.8 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1466, allocations: 4.969 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1466, allocations: 1.5 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1466, allocations: 1.781 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.1466, allocations: 14.19 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.1469, allocations: 164.7 kB / 303.7 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.147, allocations: 85.72 kB / 303.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.147, allocations: 18.33 kB / 303.8 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.147, allocations: 1.062 kB / 303.8 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.1471, allocations: 71.92 kB / 303.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1471, allocations: 0.6875 kB / 303.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00034/0.1475, allocations: 110 kB / 304 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1475, allocations: 80.23 kB / 304.1 MB, free: 18.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1476, allocations: 157 kB / 304.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1476, allocations: 31.34 kB / 304.3 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.25e-05/0.1477, allocations: 89.98 kB / 304.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1477, allocations: 24.94 kB / 304.4 MB, free: 17.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.1477, allocations: 31.56 kB / 304.4 MB, free: 17.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.1478, allocations: 324.4 kB / 304.7 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.1478, allocations: 10.11 kB / 304.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.1478, allocations: 55.41 kB / 304.8 MB, free: 17.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.1479, allocations: 46.5 kB / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1479, allocations: 0.6094 kB / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.064e-05/0.148, allocations: 71.3 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.148, allocations: 4.375 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.148, allocations: 6.188 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.148, allocations: 1.719 kB / 304.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.1481, allocations: 18.03 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1481, allocations: 3.031 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.1481, allocations: 3.062 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1481, allocations: 1.469 kB / 305 MB, free: 17.39 MB / 282.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 6.647e-05/0.1482, allocations: 118.9 kB / 305.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1482, allocations: 12.47 kB / 305.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.1483, allocations: 74.8 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1483, allocations: 3.656 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1483, allocations: 0 / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1483, allocations: 2.703 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1486, allocations: 300.2 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1486, allocations: 0 / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1486, allocations: 13.62 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1486, allocations: 1.438 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1486, allocations: 6.328 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1486, allocations: 1.828 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1486, allocations: 3.938 kB / 305.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.1487, allocations: 212.6 kB / 305.7 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.1487, allocations: 7.234 kB / 305.7 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1487, allocations: 3.297 kB / 305.7 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.1488, allocations: 6.938 kB / 305.7 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1488, allocations: 9.312 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1488, allocations: 8.609 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.1489, allocations: 38.3 kB / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1489, allocations: 0 / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000188/0.1491, allocations: 36.08 kB / 305.8 MB, free: 16.75 MB / 282.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.001348/0.1504, allocations: 0.6331 MB / 306.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1505, allocations: 39.78 kB / 306.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.1505, allocations: 1.188 kB / 306.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.1506, allocations: 21.25 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.1508, allocations: 37.61 kB / 306.5 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.1511, allocations: 196.2 kB / 306.7 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.1511, allocations: 67.03 kB / 306.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.1512, allocations: 18.75 kB / 306.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.1513, allocations: 74.56 kB / 306.9 MB, free: 16.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1513, allocations: 0 / 306.9 MB, free: 16.07 MB / 282.7 MB Notification: Performance of Templates: time 0.005071/0.1563, allocations: 2.3 MB / 309.2 MB, free: 15.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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: 3.140935205388814]