Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009519/0.0009519, allocations: 79.92 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.00101/0.00101, allocations: 169 kB / 24.14 MB, free: 360 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.9439/0.9439, allocations: 158.6 MB / 186 MB, free: 2.727 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.1436/0.1436, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.681e-05, allocations: 2.312 kB / 299.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002743/0.00277, allocations: 1.727 MB / 300.9 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.153/0.1558, allocations: 0.7999 MB / 301.7 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.1559, allocations: 2.891 kB / 301.7 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1562, allocations: 30.39 kB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1564, allocations: 64.78 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1567, allocations: 86.45 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1568, allocations: 94.92 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.1569, allocations: 10.56 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.157, allocations: 55.47 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.1571, allocations: 26.25 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1571, allocations: 4.812 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.1572, allocations: 42.02 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1573, allocations: 20.44 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1573, allocations: 17.3 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1575, allocations: 94.78 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1575, allocations: 0.5625 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1575, allocations: 4.625 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1576, allocations: 1.062 kB / 302.2 MB, free: 19.17 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.0004086/0.158, allocations: 310.4 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.158, allocations: 10.19 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.158, allocations: 12.27 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1582, allocations: 142.2 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1582, allocations: 1.438 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1582, allocations: 11.05 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1583, allocations: 59.05 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1583, allocations: 5.062 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1583, allocations: 5.203 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1583, allocations: 5.969 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.1584, allocations: 8.531 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.1586, allocations: 161.9 kB / 302.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.1587, allocations: 82.16 kB / 303 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.1587, allocations: 15.89 kB / 303 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1587, allocations: 1.688 kB / 303 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.979e-05/0.1588, allocations: 70.05 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.1588, allocations: 3.562 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003469/0.1592, allocations: 110.5 kB / 303.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1592, allocations: 54.06 kB / 303.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1593, allocations: 162.2 kB / 303.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1593, allocations: 30.83 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.1593, allocations: 89.41 kB / 303.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1594, allocations: 25.2 kB / 303.6 MB, free: 18.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1594, allocations: 23.67 kB / 303.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.1595, allocations: 326.7 kB / 303.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.1595, allocations: 14.33 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.1595, allocations: 24.84 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.547e-05/0.1596, allocations: 43.36 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1596, allocations: 1.125 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.1597, allocations: 74.17 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1597, allocations: 5.344 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1597, allocations: 0 / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.1597, allocations: 1.844 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1598, allocations: 14.77 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1598, allocations: 1.125 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.1599, allocations: 12.2 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1599, allocations: 2.922 kB / 304.1 MB, free: 17.65 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.274e-05/0.1599, allocations: 118.1 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1599, allocations: 14.36 kB / 304.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.1601, allocations: 77.81 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1601, allocations: 5.094 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1601, allocations: 4.234 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1601, allocations: 0.5625 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1603, allocations: 288 kB / 304.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1603, allocations: 1.094 kB / 304.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.1603, allocations: 8.891 kB / 304.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1603, allocations: 1.641 kB / 304.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1603, allocations: 10.02 kB / 304.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1604, allocations: 3.938 kB / 304.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1604, allocations: 5.062 kB / 304.6 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.1605, allocations: 211.7 kB / 304.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.1605, allocations: 13.27 kB / 304.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1605, allocations: 6.016 kB / 304.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.1605, allocations: 1.844 kB / 304.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.1606, allocations: 10.47 kB / 304.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1606, allocations: 3.328 kB / 304.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.1606, allocations: 43.88 kB / 304.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1606, allocations: 0 / 304.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.1608, allocations: 27.03 kB / 304.9 MB, free: 17.03 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.001247/0.1621, allocations: 0.5724 MB / 305.5 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1622, allocations: 43.03 kB / 305.5 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.1622, allocations: 1.438 kB / 305.5 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.1622, allocations: 29.03 kB / 305.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1625, allocations: 40.19 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.1629, allocations: 206.4 kB / 305.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.1629, allocations: 66.72 kB / 305.9 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.1629, allocations: 11.25 kB / 305.9 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.163, allocations: 70.75 kB / 306 MB, free: 16.39 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.163, allocations: 4.062 kB / 306 MB, free: 16.38 MB / 282.7 MB Notification: Performance of Templates: time 0.005081/0.1681, allocations: 2 MB / 308 MB, free: 16.13 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.1902636410668492]