Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001036/0.001036, 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.001193/0.001193, allocations: 168.2 kB / 24.84 MB, free: 8.906 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.9729/0.9729, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.1909/0.1909, 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 349 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.746e-05, allocations: 6.25 kB / 349 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.007436/0.007454, allocations: 1.727 MB / 350.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.008334, allocations: 0.7843 MB / 351.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.008394, allocations: 8 kB / 351.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.008676, allocations: 111.5 kB / 351.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.008847, allocations: 83.64 kB / 351.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.009, allocations: 87.7 kB / 351.8 MB, free: 1.906 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.009151, allocations: 123.6 kB / 351.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.945e-05/0.00923, allocations: 16.22 kB / 351.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.009305, allocations: 63.81 kB / 352 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.009389, allocations: 63.86 kB / 352.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.009404, allocations: 4 kB / 352.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.009476, allocations: 43.92 kB / 352.1 MB, free: 1.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.009522, allocations: 35.84 kB / 352.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.009554, allocations: 19.92 kB / 352.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.009703, allocations: 119.5 kB / 352.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.009705, allocations: 0 / 352.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009706, allocations: 0 / 352.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.009711, allocations: 4 kB / 352.3 MB, free: 1.422 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003802/0.01009, allocations: 467.4 kB / 352.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.01012, allocations: 8.031 kB / 352.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.01015, allocations: 20.84 kB / 352.8 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.01029, allocations: 164.2 kB / 352.9 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.0103, allocations: 4.359 kB / 352.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.01032, allocations: 8.375 kB / 352.9 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.01042, allocations: 62.94 kB / 353 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01043, allocations: 3.938 kB / 353 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.01044, allocations: 0 / 353 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.01044, allocations: 4 kB / 353 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.01048, allocations: 19.95 kB / 353 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.0107, allocations: 276.4 kB / 353.3 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/0.01079, allocations: 59.09 kB / 353.4 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.01081, allocations: 15.69 kB / 353.4 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.01082, allocations: 4 kB / 353.4 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.412e-05/0.01092, allocations: 72.95 kB / 353.4 MB, free: 132 kB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.01092, allocations: 0 / 353.4 MB, free: 132 kB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.1289/0.1398, allocations: 149.8 kB / 353.6 MB, free: 65.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1398, allocations: 56.58 kB / 353.6 MB, free: 64.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.14, allocations: 257.1 kB / 353.9 MB, free: 64.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.14, allocations: 33.14 kB / 353.9 MB, free: 64.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.14, allocations: 168.5 kB / 354.1 MB, free: 64.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1401, allocations: 28.08 kB / 354.1 MB, free: 64.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1401, allocations: 29.28 kB / 354.2 MB, free: 64.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.1402, allocations: 0.5004 MB / 354.7 MB, free: 64.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.1402, allocations: 9.875 kB / 354.7 MB, free: 64.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.234e-05/0.1402, allocations: 36.77 kB / 354.7 MB, free: 64.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/0.1403, allocations: 49.22 kB / 354.7 MB, free: 64.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1403, allocations: 2.688 kB / 354.7 MB, free: 64.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001617/0.1405, allocations: 101.8 kB / 354.8 MB, free: 64.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1405, allocations: 4.812 kB / 354.9 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1405, allocations: 7.375 kB / 354.9 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1405, allocations: 4.297 kB / 354.9 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1406, allocations: 16.78 kB / 354.9 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1406, allocations: 1.125 kB / 354.9 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1407, allocations: 5.125 kB / 354.9 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1407, allocations: 4.156 kB / 354.9 MB, free: 64.03 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 (11): * Single equations (assignments): 11 * 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.379e-05/0.1407, allocations: 161.2 kB / 355 MB, free: 63.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1408, allocations: 22.47 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.141, allocations: 118.8 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.141, allocations: 2.625 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.141, allocations: 1.969 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.141, allocations: 1.641 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.1417, allocations: 390.3 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1417, allocations: 1.156 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.1417, allocations: 19.27 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1417, allocations: 1.922 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1418, allocations: 5.312 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1418, allocations: 2.594 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1418, allocations: 0.5 kB / 355.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.1419, allocations: 265.8 kB / 355.9 MB, free: 63.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.1419, allocations: 14.67 kB / 355.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1419, allocations: 6.125 kB / 355.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.142, allocations: 5.344 kB / 355.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.142, allocations: 7.109 kB / 355.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1421, allocations: 8.781 kB / 355.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.1421, allocations: 179.2 kB / 356.1 MB, free: 63.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1421, allocations: 0.6562 kB / 356.1 MB, free: 63.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.1424, allocations: 27.98 kB / 356.1 MB, free: 63.21 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 (11): * Single equations (assignments): 9 * 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.001032/0.1434, allocations: 439.2 kB / 356.5 MB, free: 63.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1435, allocations: 54.48 kB / 356.6 MB, free: 63.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1435, allocations: 0 / 356.6 MB, free: 63.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.1436, allocations: 41.11 kB / 356.6 MB, free: 63.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1439, allocations: 36 kB / 356.7 MB, free: 63.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.1442, allocations: 255.9 kB / 356.9 MB, free: 62.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.1443, allocations: 73.33 kB / 357 MB, free: 62.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.1443, allocations: 17.98 kB / 357 MB, free: 62.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.1444, allocations: 93.02 kB / 357.1 MB, free: 62.73 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1444, allocations: 1.156 kB / 357.1 MB, free: 62.73 MB / 330.7 MB Notification: Performance of Templates: time 0.004484/0.1489, allocations: 2.194 MB / 359.3 MB, free: 62.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.307698312215507]