Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.001553/0.001553, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009504/0.0009504, 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.8856/0.8856, allocations: 158.6 MB / 186 MB, free: 2.738 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.1368/0.1368, allocations: 32.39 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 299.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.315e-05, allocations: 2.312 kB / 299.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002327/0.00235, allocations: 1.685 MB / 300.8 MB, free: 424 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.1591, allocations: 0.7846 MB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1592, allocations: 4.406 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1595, allocations: 48.66 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1598, allocations: 65.75 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.16, allocations: 80.97 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1602, allocations: 95.22 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1602, allocations: 5.312 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1603, allocations: 47.77 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.1604, allocations: 25.34 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1604, allocations: 3.312 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.1605, allocations: 37.2 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.1606, allocations: 28.45 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.1606, allocations: 20.39 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1608, allocations: 94.27 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1608, allocations: 0 / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1608, allocations: 0.5 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1608, allocations: 0.7812 kB / 302.2 MB, free: 19.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003842/0.1612, allocations: 335 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1612, allocations: 9.812 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.1612, allocations: 9.422 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1614, allocations: 157 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1614, allocations: 5.5 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1614, allocations: 3.344 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1615, allocations: 59.08 kB / 302.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1615, allocations: 4.531 kB / 302.7 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.1615, allocations: 1.406 kB / 302.7 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1615, allocations: 1.156 kB / 302.7 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.1616, allocations: 6.641 kB / 302.7 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.541e-05/0.1617, allocations: 71.53 kB / 302.8 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.1617, allocations: 48.78 kB / 302.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.1618, allocations: 10.73 kB / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1618, allocations: 1.125 kB / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.552e-05/0.1619, allocations: 57.61 kB / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1619, allocations: 0 / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001207/0.162, allocations: 60 kB / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.162, allocations: 59.94 kB / 303 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1621, allocations: 209.6 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1621, allocations: 26.2 kB / 303.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.1622, allocations: 97.59 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1622, allocations: 17.38 kB / 303.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1622, allocations: 25.75 kB / 303.4 MB, free: 18.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.1623, allocations: 325.1 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.1623, allocations: 8.078 kB / 303.7 MB, free: 17.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.1623, allocations: 20.97 kB / 303.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.1624, allocations: 39.97 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1624, allocations: 0 / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.234e-05/0.1624, allocations: 60.78 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1624, allocations: 6.734 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1624, allocations: 1.922 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1625, allocations: 3.047 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.1625, allocations: 17.59 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1625, allocations: 2.516 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.1626, allocations: 3.938 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1626, allocations: 4.562 kB / 303.9 MB, free: 17.73 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 (7): * Single equations (assignments): 7 * 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 5.624e-05/0.1626, allocations: 118.1 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.1626, allocations: 13.75 kB / 304 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1627, allocations: 66.23 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1628, allocations: 1.094 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1628, allocations: 4.547 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1628, allocations: 0.7969 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.271e-05/0.1628, allocations: 91.62 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1628, allocations: 0 / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.1629, allocations: 12.23 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1629, allocations: 0.6094 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1629, allocations: 2.406 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1629, allocations: 4 kB / 304.2 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1629, allocations: 0 / 304.2 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.898e-05/0.163, allocations: 89.59 kB / 304.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.163, allocations: 8.938 kB / 304.3 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.163, allocations: 2.078 kB / 304.3 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.163, allocations: 2.906 kB / 304.3 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.1631, allocations: 7.719 kB / 304.3 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1631, allocations: 2.844 kB / 304.3 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.1631, allocations: 77.69 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1631, allocations: 0 / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.1633, allocations: 31.62 kB / 304.4 MB, free: 17.36 MB / 282.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 (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.001072/0.1644, allocations: 0.5008 MB / 304.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.1644, allocations: 30.44 kB / 305 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1645, allocations: 1.625 kB / 305 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.1645, allocations: 22.58 kB / 305 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.1646, allocations: 30.59 kB / 305 MB, free: 17.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.165, allocations: 224.6 kB / 305.2 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.1651, allocations: 70.05 kB / 305.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1651, allocations: 9.891 kB / 305.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.1652, allocations: 67.88 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1652, allocations: 3.938 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of Templates: time 0.004782/0.1699, allocations: 1.762 MB / 307.1 MB, free: 16.59 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.993512522894889]