Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.000924/0.000924, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.0009836/0.0009836, allocations: 169 kB / 24.84 MB, free: 8.867 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 1.005/1.005, 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.1578/0.1578, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.477e-06/3.477e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.181e-05/4.529e-05, allocations: 8.281 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003849/0.003895, allocations: 1.718 MB / 350.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.005391, allocations: 0.7881 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005525, allocations: 0 / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.006034, allocations: 91.67 kB / 351.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.006412, allocations: 71.67 kB / 351.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.00674, allocations: 99.56 kB / 351.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.006981, allocations: 103.7 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.007096, allocations: 8.234 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.007231, allocations: 59.81 kB / 351.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.00736, allocations: 59.86 kB / 352 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.007382, allocations: 4 kB / 352 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.007494, allocations: 39.92 kB / 352 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.007574, allocations: 35.84 kB / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.007621, allocations: 15.94 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.007889, allocations: 95.64 kB / 352.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.007895, allocations: 4 kB / 352.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007896, allocations: 0 / 352.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.007903, allocations: 0 / 352.2 MB, free: 5.887 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.0005081/0.008411, allocations: 463.7 kB / 352.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.008454, allocations: 12.03 kB / 352.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.0085, allocations: 8.891 kB / 352.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.008668, allocations: 152.4 kB / 352.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.008691, allocations: 4.375 kB / 352.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.008714, allocations: 384 / 352.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.008856, allocations: 62.94 kB / 352.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.008872, allocations: 11.92 kB / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.008881, allocations: 0 / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.008887, allocations: 0 / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.008919, allocations: 19.92 kB / 352.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.009214, allocations: 252.5 kB / 353.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.009325, allocations: 51.14 kB / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.009354, allocations: 19.67 kB / 353.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.009371, allocations: 4 kB / 353.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.009489, allocations: 68.92 kB / 353.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.00949, allocations: 4 kB / 353.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004271/0.009917, allocations: 133.5 kB / 353.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.00995, allocations: 51.41 kB / 353.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.01007, allocations: 242.5 kB / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.01008, allocations: 25.7 kB / 353.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.01013, allocations: 162.8 kB / 353.9 MB, free: 4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.01017, allocations: 19.84 kB / 353.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.01021, allocations: 27.36 kB / 353.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.0103, allocations: 0.5001 MB / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.01032, allocations: 8 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.01037, allocations: 39.34 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.712e-05/0.01043, allocations: 43.3 kB / 354.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01043, allocations: 3.938 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001596/0.01059, allocations: 101.5 kB / 354.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01061, allocations: 4 kB / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01062, allocations: 0 / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01063, allocations: 4 kB / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01073, allocations: 15.98 kB / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01074, allocations: 0 / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.01079, allocations: 8.031 kB / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.0108, allocations: 0 / 354.7 MB, free: 3.188 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 0.0001086/0.0109, allocations: 160.6 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.01093, allocations: 15.89 kB / 354.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.01113, allocations: 103.1 kB / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.01113, allocations: 0 / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01114, allocations: 0 / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01114, allocations: 0 / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.01145, allocations: 373.5 kB / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01145, allocations: 4.406 kB / 355.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.01148, allocations: 11.94 kB / 355.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01149, allocations: 4 kB / 355.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.0115, allocations: 4 kB / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0115, allocations: 0 / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.0115, allocations: 4 kB / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.01162, allocations: 247.4 kB / 355.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.01163, allocations: 19.89 kB / 355.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01165, allocations: 0 / 355.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.01169, allocations: 4 kB / 355.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.01172, allocations: 11.98 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01173, allocations: 8 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.01178, allocations: 163.1 kB / 355.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 355.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.01195, allocations: 23.98 kB / 355.8 MB, free: 1.973 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.0009683/0.01292, allocations: 438.9 kB / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01306, allocations: 59.5 kB / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01306, allocations: 0 / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.0131, allocations: 35.69 kB / 356.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01334, allocations: 31.81 kB / 356.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.01381, allocations: 225 kB / 356.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.01386, allocations: 71.33 kB / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.0139, allocations: 12.48 kB / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.01398, allocations: 90.19 kB / 356.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01398, allocations: 0 / 356.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of Templates: time 0.004345/0.01832, allocations: 2.036 MB / 358.8 MB, free: 15.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.309070844668895]