Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001171/0.001171, 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.001866/0.001866, allocations: 169 kB / 24.14 MB, free: 364 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.9306/0.9306, allocations: 158.6 MB / 186 MB, free: 2.758 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.1391/0.1391, 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 4 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/3.04e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003665/0.003695, allocations: 1.696 MB / 300.8 MB, free: 432 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1649/0.1686, allocations: 0.7757 MB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.1687, allocations: 4.406 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.169, allocations: 61.84 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1693, allocations: 73.02 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1695, allocations: 83.19 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1697, allocations: 100.4 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1698, allocations: 6.578 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1699, allocations: 51.23 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.17, allocations: 38.58 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.17, allocations: 4.438 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.1701, allocations: 37.02 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1701, allocations: 22.67 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.1702, allocations: 19.05 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1703, allocations: 84.95 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1703, allocations: 0 / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1703, allocations: 0.75 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1703, allocations: 0 / 302.2 MB, free: 19.16 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.0003706/0.1707, allocations: 305.5 kB / 302.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1708, allocations: 9.406 kB / 302.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.1708, allocations: 7.359 kB / 302.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1709, allocations: 145.5 kB / 302.6 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.171, allocations: 2.328 kB / 302.6 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.171, allocations: 1.469 kB / 302.6 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1711, allocations: 61.61 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1711, allocations: 0 / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1711, allocations: 4.734 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1711, allocations: 1.688 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.1711, allocations: 6.75 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.866e-05/0.1712, allocations: 73.44 kB / 302.8 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.1713, allocations: 42.5 kB / 302.8 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.1713, allocations: 11.86 kB / 302.8 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1713, allocations: 2.188 kB / 302.8 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.282e-05/0.1714, allocations: 65.89 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1714, allocations: 0.5938 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001194/0.1715, allocations: 57.78 kB / 303 MB, free: 18.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.1715, allocations: 57.05 kB / 303 MB, free: 18.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.1716, allocations: 166.1 kB / 303.2 MB, free: 18.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1716, allocations: 26.92 kB / 303.2 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.1717, allocations: 94.45 kB / 303.3 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1717, allocations: 14.89 kB / 303.3 MB, free: 18.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1717, allocations: 18.92 kB / 303.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.1718, allocations: 322.6 kB / 303.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.1718, allocations: 13.03 kB / 303.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.1718, allocations: 20.56 kB / 303.7 MB, free: 17.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.1718, allocations: 37.58 kB / 303.7 MB, free: 17.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1718, allocations: 1.406 kB / 303.7 MB, free: 17.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.412e-05/0.1719, allocations: 55.45 kB / 303.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1719, allocations: 10.86 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1719, allocations: 3.281 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1719, allocations: 1.156 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.172, allocations: 13.47 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.172, allocations: 6.359 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.172, allocations: 2.984 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.172, allocations: 4.047 kB / 303.8 MB, free: 17.77 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.069e-05/0.1721, allocations: 112.7 kB / 303.9 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1721, allocations: 11.67 kB / 303.9 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.1722, allocations: 65.67 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1722, allocations: 1.688 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1722, allocations: 7.5 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1722, allocations: 0.7969 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.149e-05/0.1723, allocations: 84.5 kB / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1723, allocations: 0 / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.1723, allocations: 8.438 kB / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1723, allocations: 1.719 kB / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.1723, allocations: 1.844 kB / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1723, allocations: 0 / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1723, allocations: 0 / 304.1 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.722e-05/0.1724, allocations: 90.33 kB / 304.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.1724, allocations: 18.17 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1724, allocations: 5.969 kB / 304.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.1724, allocations: 2.094 kB / 304.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1724, allocations: 8.828 kB / 304.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1724, allocations: 6.828 kB / 304.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.1725, allocations: 48.72 kB / 304.3 MB, free: 17.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1725, allocations: 0 / 304.3 MB, free: 17.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.1727, allocations: 22.69 kB / 304.3 MB, free: 17.42 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.001221/0.1739, allocations: 0.5042 MB / 304.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.261e-05/0.174, allocations: 26.42 kB / 304.8 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.174, allocations: 5.062 kB / 304.8 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.174, allocations: 19.17 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.1742, allocations: 30.64 kB / 304.9 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.1744, allocations: 185.1 kB / 305.1 MB, free: 16.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.1745, allocations: 64.25 kB / 305.1 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1745, allocations: 10.2 kB / 305.1 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1746, allocations: 64.55 kB / 305.2 MB, free: 16.87 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1746, allocations: 0 / 305.2 MB, free: 16.87 MB / 282.7 MB Notification: Performance of Templates: time 0.004117/0.1787, allocations: 1.749 MB / 307 MB, free: 16.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.1624102108180523]