Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009603/0.0009603, 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.001059/0.001059, 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.8901/0.8901, 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.1481/0.1481, 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.449e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003253/0.003278, allocations: 1.813 MB / 300.9 MB, free: 320 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1545/0.1578, allocations: 0.8724 MB / 301.8 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.1579, allocations: 5.188 kB / 301.8 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.1584, allocations: 301.2 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1588, allocations: 209.3 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.1592, allocations: 141.5 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.1595, allocations: 247.7 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.1596, allocations: 7.812 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.1598, allocations: 145.6 kB / 302.9 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.16, allocations: 168.5 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1601, allocations: 6.781 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1602, allocations: 48.67 kB / 303.1 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1603, allocations: 137.9 kB / 303.2 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.513e-05/0.1604, allocations: 68.66 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.1608, allocations: 267 kB / 303.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1608, allocations: 0 / 303.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1608, allocations: 1.906 kB / 303.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1608, allocations: 0 / 303.5 MB, free: 18.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005972/0.1614, allocations: 0.6194 MB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1614, allocations: 15.83 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.1615, allocations: 29.97 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1618, allocations: 295.7 kB / 304.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1618, allocations: 2.656 kB / 304.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1618, allocations: 7.969 kB / 304.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.162, allocations: 94.31 kB / 304.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.162, allocations: 3.938 kB / 304.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.162, allocations: 2.453 kB / 304.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.162, allocations: 1.875 kB / 304.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.162, allocations: 18.48 kB / 304.6 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1622, allocations: 116.1 kB / 304.7 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1623, allocations: 80.14 kB / 304.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.1624, allocations: 24.08 kB / 304.8 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1624, allocations: 1.812 kB / 304.8 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.1625, allocations: 98.03 kB / 304.9 MB, free: 17.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1625, allocations: 2.5 kB / 304.9 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001708/0.1627, allocations: 107.9 kB / 305 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1627, allocations: 87.81 kB / 305.1 MB, free: 17.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.1632, allocations: 0.5774 MB / 305.7 MB, free: 17.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1632, allocations: 31.28 kB / 305.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.1633, allocations: 144.8 kB / 305.9 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1633, allocations: 31.75 kB / 305.9 MB, free: 17.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1634, allocations: 22.89 kB / 305.9 MB, free: 17.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.1634, allocations: 369.2 kB / 306.3 MB, free: 17.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.1635, allocations: 13.56 kB / 306.3 MB, free: 17.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.1635, allocations: 45.16 kB / 306.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.1636, allocations: 67.2 kB / 306.4 MB, free: 17.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1636, allocations: 1 kB / 306.4 MB, free: 17.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001305/0.1637, allocations: 108.3 kB / 306.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1637, allocations: 7.469 kB / 306.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1637, allocations: 0 / 306.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1637, allocations: 2.562 kB / 306.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.1638, allocations: 26.05 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1638, allocations: 2.125 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.1639, allocations: 18.38 kB / 306.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1639, allocations: 7.781 kB / 306.6 MB, free: 17.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.35e-05/0.164, allocations: 135.2 kB / 306.7 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.164, allocations: 28.69 kB / 306.7 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.1642, allocations: 119.9 kB / 306.9 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1642, allocations: 2.562 kB / 306.9 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1642, allocations: 3.938 kB / 306.9 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1642, allocations: 1.844 kB / 306.9 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1644, allocations: 152.3 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1644, allocations: 6.422 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.1644, allocations: 13.03 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1644, allocations: 1.312 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1644, allocations: 2.562 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1644, allocations: 1.906 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1644, allocations: 1.281 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1645, allocations: 140.8 kB / 307.2 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1646, allocations: 49.44 kB / 307.2 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1646, allocations: 2.734 kB / 307.2 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.1647, allocations: 9.266 kB / 307.2 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1647, allocations: 12.98 kB / 307.2 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1647, allocations: 8.703 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.165, allocations: 307.2 kB / 307.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.165, allocations: 0 / 307.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.1652, allocations: 50.2 kB / 307.6 MB, free: 16.65 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00116/0.1663, allocations: 0.5022 MB / 308.1 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1664, allocations: 53.23 kB / 308.2 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.1665, allocations: 4.969 kB / 308.2 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.1665, allocations: 40.48 kB / 308.2 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.0002513/0.1668, allocations: 71.95 kB / 308.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.1675, allocations: 0.6252 MB / 308.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.507e-05/0.1675, allocations: 130.2 kB / 309 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.1676, allocations: 40.25 kB / 309.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1677, allocations: 100.4 kB / 309.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1677, allocations: 0 / 309.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of Templates: time 0.007961/0.1757, allocations: 4.206 MB / 313.4 MB, free: 14.47 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.9310747706331313]