Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009751/0.0009751, allocations: 79.92 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.001283/0.001283, 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.9895/0.9895, 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.1818/0.1818, allocations: 32.37 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.83e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002648/0.002676, allocations: 1.727 MB / 300.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1538/0.1564, allocations: 0.7999 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.1565, allocations: 1.062 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1569, allocations: 34.12 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1571, allocations: 64.77 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1574, allocations: 88.17 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1576, allocations: 99.28 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.1576, allocations: 6.312 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.1577, allocations: 52.91 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.1578, allocations: 27.11 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1578, allocations: 4.344 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.1579, allocations: 43.88 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.158, allocations: 22.7 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.158, allocations: 19.89 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1582, allocations: 94.73 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1582, allocations: 0.75 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1582, allocations: 0 / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1582, allocations: 0 / 302.2 MB, free: 19.15 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.0003315/0.1585, allocations: 321.3 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1586, allocations: 9.594 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.1586, allocations: 9.484 kB / 302.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1587, allocations: 141.4 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1587, allocations: 1.984 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1588, allocations: 7.625 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.1589, allocations: 60.77 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1589, allocations: 3.938 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1589, allocations: 5.438 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1589, allocations: 2 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.1589, allocations: 13.94 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.1591, allocations: 161.1 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.1592, allocations: 86.81 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.1592, allocations: 12.55 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1592, allocations: 2.281 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.231e-05/0.1593, allocations: 75.31 kB / 303.1 MB, free: 18.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1593, allocations: 1.875 kB / 303.1 MB, free: 18.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003071/0.1596, allocations: 110 kB / 303.2 MB, free: 18.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.1596, allocations: 53.69 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.1597, allocations: 167.2 kB / 303.4 MB, free: 18.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1597, allocations: 27.66 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.1597, allocations: 92.3 kB / 303.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1598, allocations: 27.16 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1598, allocations: 28.23 kB / 303.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.1598, allocations: 325.5 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.1598, allocations: 9.688 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.1599, allocations: 25.34 kB / 304 MB, free: 17.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.1599, allocations: 40.61 kB / 304 MB, free: 17.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1599, allocations: 1.062 kB / 304 MB, free: 17.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.083e-05/0.16, allocations: 74.92 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.16, allocations: 8.5 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.16, allocations: 0.7031 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.16, allocations: 4.938 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1601, allocations: 17.97 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.1601, allocations: 1.031 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.1601, allocations: 4.734 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1601, allocations: 2.094 kB / 304.1 MB, free: 17.62 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 5.153e-05/0.1602, allocations: 123 kB / 304.2 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.1602, allocations: 14.27 kB / 304.2 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.1603, allocations: 76.11 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1603, allocations: 1.219 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1603, allocations: 2.391 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1603, allocations: 2.312 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1605, allocations: 294.6 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1605, allocations: 0.7031 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.1605, allocations: 10.19 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1605, allocations: 4.719 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1605, allocations: 5.453 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1605, allocations: 1.188 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1605, allocations: 2.203 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.1606, allocations: 220.4 kB / 304.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.1606, allocations: 8.781 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1607, allocations: 2.734 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.1607, allocations: 7.047 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.1607, allocations: 4.891 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1607, allocations: 4.438 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.624e-05/0.1608, allocations: 53.7 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1608, allocations: 0 / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.1609, allocations: 22.34 kB / 305 MB, free: 17 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.001158/0.1621, allocations: 0.5691 MB / 305.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1622, allocations: 42.27 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.1622, allocations: 5.094 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1623, allocations: 24.89 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1625, allocations: 43 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1628, allocations: 215.8 kB / 305.8 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.1629, allocations: 67.55 kB / 305.9 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.1629, allocations: 15.58 kB / 305.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.163, allocations: 65.73 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.163, allocations: 1.344 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of Templates: time 0.004532/0.1675, allocations: 2.008 MB / 308 MB, free: 16.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.255157198756933]