Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009797/0.0009797, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001092/0.001092, allocations: 169.3 kB / 24.14 MB, free: 356 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.9327/0.9327, allocations: 158.6 MB / 186 MB, free: 2.754 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.1264/0.1264, 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.473e-05, allocations: 2.312 kB / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002464/0.002479, allocations: 1.963 MB / 301.2 MB, free: 108 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1382/0.1407, allocations: 0.8409 MB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1408, allocations: 1.188 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.1412, allocations: 54.42 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1414, allocations: 54.22 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.1417, allocations: 106.2 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1419, allocations: 143.5 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1421, allocations: 24.36 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1422, allocations: 71.16 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1423, allocations: 43.92 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1423, allocations: 6.344 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1424, allocations: 44.48 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.1425, allocations: 25.58 kB / 302.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1425, allocations: 35.09 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1427, allocations: 123.7 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1427, allocations: 0 / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1427, allocations: 1.438 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1427, allocations: 0.5938 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.0005382/0.1433, allocations: 380.6 kB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1433, allocations: 9.984 kB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.1434, allocations: 17.03 kB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1436, allocations: 160.7 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1436, allocations: 5.766 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1436, allocations: 9.375 kB / 303.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1438, allocations: 135.5 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1438, allocations: 3.938 kB / 303.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1438, allocations: 8.562 kB / 303.4 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1438, allocations: 2.281 kB / 303.4 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.1439, allocations: 21.62 kB / 303.4 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1442, allocations: 376.8 kB / 303.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1443, allocations: 104 kB / 303.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.1444, allocations: 21.91 kB / 303.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1444, allocations: 1.156 kB / 303.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.1445, allocations: 101.2 kB / 304 MB, free: 17.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1445, allocations: 0 / 304 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001428/0.1446, allocations: 75.36 kB / 304.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.628e-05/0.1447, allocations: 55.52 kB / 304.2 MB, free: 17.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1448, allocations: 180.7 kB / 304.3 MB, free: 17.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1448, allocations: 29.97 kB / 304.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.1448, allocations: 100.6 kB / 304.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1449, allocations: 34.03 kB / 304.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.1449, allocations: 31.33 kB / 304.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.1449, allocations: 332.8 kB / 304.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.145, allocations: 14.58 kB / 304.9 MB, free: 17.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.145, allocations: 50.5 kB / 304.9 MB, free: 17.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.1451, allocations: 68.59 kB / 305 MB, free: 17.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1451, allocations: 0 / 305 MB, free: 17.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000102/0.1452, allocations: 93.78 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1452, allocations: 5.406 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1452, allocations: 1.578 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1452, allocations: 2.375 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.1453, allocations: 24.83 kB / 305.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1453, allocations: 6.688 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.1453, allocations: 13.81 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1453, allocations: 3.031 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 5.572e-05/0.1454, allocations: 130 kB / 305.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.1454, allocations: 10.75 kB / 305.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1455, allocations: 78.58 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1455, allocations: 1.812 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1455, allocations: 1.188 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1455, allocations: 0.6562 kB / 305.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.443e-05/0.1456, allocations: 99.81 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1456, allocations: 5.953 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.1457, allocations: 12.98 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1457, allocations: 4.609 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1457, allocations: 1.703 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1457, allocations: 1.156 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1457, allocations: 0.6562 kB / 305.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.1458, allocations: 114.8 kB / 305.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.1458, allocations: 26.05 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1459, allocations: 2.703 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.1459, allocations: 11.64 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1459, allocations: 7.531 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1459, allocations: 6.828 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.146, allocations: 60.2 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.146, allocations: 1.562 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00014/0.1461, allocations: 24.92 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.001013/0.1471, allocations: 0.5002 MB / 306.2 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1473, allocations: 45.88 kB / 306.3 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.1473, allocations: 5.812 kB / 306.3 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.1473, allocations: 28.38 kB / 306.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.1475, allocations: 52.94 kB / 306.4 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1478, allocations: 252.2 kB / 306.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.1479, allocations: 70.52 kB / 306.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.1479, allocations: 13.92 kB / 306.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.148, allocations: 73.67 kB / 306.8 MB, free: 16.18 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.148, allocations: 7.938 kB / 306.8 MB, free: 16.17 MB / 282.7 MB Notification: Performance of Templates: time 0.004595/0.1526, allocations: 2.196 MB / 309 MB, free: 15.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.9069353747181594]