Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009449/0.0009449, 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.0009102/0.0009102, 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.9087/0.9087, 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.1539/0.1539, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.457e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002326/0.002341, allocations: 1.778 MB / 301 MB, free: 300 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1351/0.1374, allocations: 0.7924 MB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.1375, allocations: 5.531 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1379, allocations: 41.88 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1381, allocations: 63.3 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1384, allocations: 81.64 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1386, allocations: 99.23 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.1387, allocations: 5.297 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1388, allocations: 56.22 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.1389, allocations: 29.84 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.139, allocations: 4.906 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.139, allocations: 42.3 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1391, allocations: 21.02 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.1391, allocations: 16.45 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1393, allocations: 101.2 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1393, allocations: 1.25 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1393, allocations: 0.5625 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1393, allocations: 0 / 302.3 MB, free: 19.13 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.0003229/0.1396, allocations: 318.2 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1397, allocations: 10.34 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.1397, allocations: 8.781 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1398, allocations: 142.5 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1399, allocations: 2.234 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1399, allocations: 3.312 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.14, allocations: 67.52 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.14, allocations: 5 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.14, allocations: 2.266 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.14, allocations: 1.094 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.14, allocations: 8.453 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1402, allocations: 165.8 kB / 303 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.1403, allocations: 85.31 kB / 303.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.1403, allocations: 17.84 kB / 303.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1403, allocations: 5.75 kB / 303.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.415e-05/0.1404, allocations: 66.2 kB / 303.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1404, allocations: 1.344 kB / 303.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002979/0.1407, allocations: 111.2 kB / 303.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.1407, allocations: 54.12 kB / 303.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.1408, allocations: 165.4 kB / 303.5 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1408, allocations: 30.52 kB / 303.6 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.1408, allocations: 92.14 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1409, allocations: 29.8 kB / 303.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.1409, allocations: 23.86 kB / 303.7 MB, free: 18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/0.1409, allocations: 324.1 kB / 304 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.141, allocations: 10.22 kB / 304 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.141, allocations: 33.23 kB / 304.1 MB, free: 17.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/0.141, allocations: 43.53 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.141, allocations: 1.125 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.044e-05/0.1411, allocations: 71.98 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1411, allocations: 4.969 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1411, allocations: 2.531 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1411, allocations: 0.5156 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1412, allocations: 15.53 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.1412, allocations: 8.812 kB / 304.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.1412, allocations: 7.219 kB / 304.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1412, allocations: 2 kB / 304.2 MB, free: 17.6 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 7.169e-05/0.1413, allocations: 122.9 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.1413, allocations: 11.33 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1414, allocations: 69.3 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1414, allocations: 1 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1414, allocations: 0 / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1414, allocations: 5.016 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1417, allocations: 301.4 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1417, allocations: 1.281 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.1417, allocations: 14.16 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1417, allocations: 1.797 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1417, allocations: 5.812 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1417, allocations: 1.188 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1417, allocations: 0.6094 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.978e-05/0.1418, allocations: 218.7 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.1418, allocations: 8.734 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1418, allocations: 6.328 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.1419, allocations: 6.297 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.1419, allocations: 7.172 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1419, allocations: 2.734 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.142, allocations: 47.77 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.142, allocations: 0 / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000154/0.1421, allocations: 26.86 kB / 305.1 MB, free: 16.98 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.00114/0.1433, allocations: 0.5669 MB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1434, allocations: 45.23 kB / 305.7 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1434, allocations: 1.219 kB / 305.7 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.1434, allocations: 25.98 kB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1436, allocations: 43.86 kB / 305.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.1439, allocations: 217.2 kB / 305.9 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.144, allocations: 66.72 kB / 306 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.144, allocations: 12.59 kB / 306 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.1441, allocations: 69.59 kB / 306.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1441, allocations: 0 / 306.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of Templates: time 0.004731/0.1488, allocations: 2.011 MB / 308.1 MB, free: 16.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.876041199080646]