Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.001027/0.001027, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001269/0.001269, allocations: 170.2 kB / 24.84 MB, free: 8.91 MB / 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.947/0.947, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1409/0.1409, allocations: 32.37 MB / 271.5 MB, free: 2.449 MB / 250.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 349 MB, free: 4.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.728e-05, allocations: 10.19 kB / 349 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002202/0.002219, allocations: 1.716 MB / 350.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003252, allocations: 0.7921 MB / 351.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.003324, allocations: 4 kB / 351.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.003616, allocations: 51.64 kB / 351.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.003813, allocations: 59.69 kB / 351.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.003987, allocations: 79.7 kB / 351.7 MB, free: 1.996 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004127, allocations: 103.6 kB / 351.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.004213, allocations: 4.234 kB / 351.8 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.004285, allocations: 51.83 kB / 351.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.004353, allocations: 31.91 kB / 351.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.004369, allocations: 4 kB / 351.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.00444, allocations: 43.97 kB / 351.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.004486, allocations: 15.94 kB / 352 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.004521, allocations: 19.92 kB / 352 MB, free: 1.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004668, allocations: 99.59 kB / 352.1 MB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.00467, allocations: 3.938 kB / 352.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004671, allocations: 0 / 352.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004675, allocations: 0 / 352.1 MB, free: 1.625 MB / 330.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.0003581/0.005033, allocations: 439.6 kB / 352.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.005064, allocations: 12.03 kB / 352.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.005098, allocations: 16.84 kB / 352.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.005228, allocations: 144.4 kB / 352.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005242, allocations: 4.375 kB / 352.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.005264, allocations: 8.312 kB / 352.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.00536, allocations: 58.94 kB / 352.7 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.005371, allocations: 3.938 kB / 352.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.005378, allocations: 0 / 352.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005384, allocations: 4 kB / 352.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.005408, allocations: 7.984 kB / 352.8 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.005642, allocations: 260.4 kB / 353 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.005723, allocations: 55.11 kB / 353.1 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.005746, allocations: 23.66 kB / 353.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.005756, allocations: 0 / 353.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.157e-05/0.005838, allocations: 64.98 kB / 353.2 MB, free: 428 kB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.005839, allocations: 0 / 353.2 MB, free: 428 kB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003055/0.006144, allocations: 129.5 kB / 353.3 MB, free: 292 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.006176, allocations: 55.41 kB / 353.3 MB, free: 224 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1395/0.1457, allocations: 219.6 kB / 353.5 MB, free: 65.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1457, allocations: 29.33 kB / 353.6 MB, free: 65.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.1458, allocations: 151.8 kB / 353.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.1458, allocations: 29.11 kB / 353.8 MB, free: 64.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.1459, allocations: 31.81 kB / 353.8 MB, free: 64.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.146, allocations: 0.4964 MB / 354.3 MB, free: 64.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.146, allocations: 13.41 kB / 354.3 MB, free: 64.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.146, allocations: 27.39 kB / 354.3 MB, free: 64.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.1461, allocations: 45.2 kB / 354.4 MB, free: 64.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1461, allocations: 0 / 354.4 MB, free: 64.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000137/0.1463, allocations: 95.22 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1463, allocations: 5.406 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1463, allocations: 1.094 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1463, allocations: 2.406 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.1464, allocations: 21.77 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1464, allocations: 2.141 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.1464, allocations: 6.656 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1464, allocations: 3 kB / 354.5 MB, free: 64.34 MB / 330.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 6.508e-05/0.1465, allocations: 160.4 kB / 354.7 MB, free: 64.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1465, allocations: 15.47 kB / 354.7 MB, free: 64.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1467, allocations: 99.14 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1467, allocations: 1.094 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1467, allocations: 2.156 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1467, allocations: 0.75 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.147, allocations: 364.5 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.147, allocations: 0 / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.147, allocations: 20.59 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.147, allocations: 3.094 kB / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.147, allocations: 3.922 kB / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.147, allocations: 4.531 kB / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.147, allocations: 0 / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1472, allocations: 247.1 kB / 355.4 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.1472, allocations: 15.75 kB / 355.4 MB, free: 63.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1472, allocations: 4.359 kB / 355.4 MB, free: 63.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.1473, allocations: 3.094 kB / 355.4 MB, free: 63.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1473, allocations: 8.984 kB / 355.4 MB, free: 63.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1473, allocations: 4.391 kB / 355.4 MB, free: 63.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.356e-05/0.1474, allocations: 159 kB / 355.6 MB, free: 63.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1474, allocations: 0 / 355.6 MB, free: 63.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.1476, allocations: 28.95 kB / 355.6 MB, free: 63.53 MB / 330.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.0009181/0.1485, allocations: 436.4 kB / 356 MB, free: 63.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1486, allocations: 45.97 kB / 356.1 MB, free: 63.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1486, allocations: 0 / 356.1 MB, free: 63.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.1487, allocations: 32.41 kB / 356.1 MB, free: 63.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1489, allocations: 33.16 kB / 356.2 MB, free: 63.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.1492, allocations: 221.6 kB / 356.4 MB, free: 63.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.1492, allocations: 66.55 kB / 356.4 MB, free: 63.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.1493, allocations: 17.06 kB / 356.5 MB, free: 63.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.1493, allocations: 87.78 kB / 356.5 MB, free: 63.05 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1493, allocations: 0 / 356.5 MB, free: 63.05 MB / 330.7 MB Notification: Performance of Templates: time 0.004104/0.1534, allocations: 2.031 MB / 358.6 MB, free: 62.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.3958870889618993]