Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.00126/0.00126, 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.001265/0.001265, 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.9031/0.9031, allocations: 158.6 MB / 186 MB, free: 2.766 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.1305/0.1305, 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.645e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002501/0.002518, allocations: 1.971 MB / 301.2 MB, free: 104 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1543/0.1568, allocations: 0.8369 MB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1569, allocations: 1.062 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1572, allocations: 54.39 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1574, allocations: 54 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1577, allocations: 102.2 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1579, allocations: 149.6 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.158, allocations: 22.59 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1581, allocations: 73.83 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.1582, allocations: 41.25 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1582, allocations: 7.062 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.1583, allocations: 43.59 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.1584, allocations: 25.91 kB / 302.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.1584, allocations: 29.94 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1586, allocations: 130.8 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1586, allocations: 1.125 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1586, allocations: 0 / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1586, allocations: 0.7812 kB / 302.7 MB, free: 19.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004336/0.1591, allocations: 382.8 kB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1591, allocations: 8.969 kB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.1592, allocations: 13.97 kB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1594, allocations: 161.8 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1594, allocations: 3.969 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1594, allocations: 9.016 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1596, allocations: 136.3 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1596, allocations: 5.844 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1596, allocations: 2.656 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1596, allocations: 1.25 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.1596, allocations: 29.58 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.1599, allocations: 375.2 kB / 303.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1601, allocations: 104.4 kB / 303.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.1601, allocations: 17.48 kB / 303.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.1601, allocations: 5.781 kB / 303.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.1602, allocations: 100.6 kB / 304 MB, free: 17.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1602, allocations: 0 / 304 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001311/0.1604, allocations: 73.56 kB / 304.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.1604, allocations: 56.06 kB / 304.2 MB, free: 17.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1605, allocations: 179.9 kB / 304.3 MB, free: 17.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1605, allocations: 30.8 kB / 304.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.1605, allocations: 102.4 kB / 304.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.1605, allocations: 34.41 kB / 304.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1606, allocations: 27.73 kB / 304.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.1606, allocations: 334.7 kB / 304.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.1606, allocations: 11.92 kB / 304.9 MB, free: 17.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.1607, allocations: 52.69 kB / 304.9 MB, free: 17.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.093e-05/0.1607, allocations: 68.92 kB / 305 MB, free: 17.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1607, allocations: 5.031 kB / 305 MB, free: 17.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.897e-05/0.1608, allocations: 91.7 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1608, allocations: 5.5 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1608, allocations: 1.828 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1609, allocations: 2.281 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.1609, allocations: 20.22 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1609, allocations: 7.594 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.161, allocations: 16.88 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.161, allocations: 4.297 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 4.917e-05/0.161, allocations: 128 kB / 305.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.161, allocations: 9.781 kB / 305.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1611, allocations: 82.81 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1611, allocations: 2.609 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1611, allocations: 0 / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1612, allocations: 0.7031 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.491e-05/0.1612, allocations: 92.2 kB / 305.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1612, allocations: 5.031 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1613, allocations: 20.45 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1613, allocations: 5.75 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1613, allocations: 1.875 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1613, allocations: 0 / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1613, allocations: 2.125 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.1615, allocations: 114.1 kB / 305.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.1615, allocations: 23.95 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1615, allocations: 4.781 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.1615, allocations: 5.219 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1615, allocations: 14.27 kB / 305.7 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1616, allocations: 5.984 kB / 305.7 MB, free: 16.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.1616, allocations: 63.95 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1616, allocations: 0 / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.1618, allocations: 26.36 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009954/0.1628, allocations: 0.4995 MB / 306.2 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1629, allocations: 49.27 kB / 306.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1629, allocations: 2.312 kB / 306.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.1629, allocations: 30.5 kB / 306.3 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.1631, allocations: 50.44 kB / 306.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.1634, allocations: 248.8 kB / 306.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.957e-05/0.1634, allocations: 70.12 kB / 306.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.1635, allocations: 14.16 kB / 306.7 MB, free: 16.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1635, allocations: 77.06 kB / 306.8 MB, free: 16.17 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1635, allocations: 0 / 306.8 MB, free: 16.17 MB / 282.7 MB Notification: Performance of Templates: time 0.004149/0.1677, allocations: 2.198 MB / 309 MB, free: 15.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.9162960769608617]