Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.00106/0.00106, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001329/0.001329, allocations: 173.7 kB / 24.91 MB, free: 9.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2717/0.2717, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 3.984 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.53e-05, allocations: 3.859 kB / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002216/0.002231, allocations: 1.699 MB / 325 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003586, allocations: 0.9974 MB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.003661, allocations: 7.938 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.003983, allocations: 59.73 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.004353, allocations: 111.5 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.004604, allocations: 79.59 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004801, allocations: 103.7 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.004859, allocations: 4.859 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004975, allocations: 63.75 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.005081, allocations: 35.91 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.005099, allocations: 4 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.005273, allocations: 39.91 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.005334, allocations: 19.92 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.00537, allocations: 19.88 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.005537, allocations: 91.59 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.00554, allocations: 4 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005541, allocations: 0 / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005546, allocations: 0 / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003954/0.005941, allocations: 309.5 kB / 326.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.005982, allocations: 12.03 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.006016, allocations: 4.938 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006185, allocations: 155.4 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.006202, allocations: 4.375 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.006214, allocations: 384 / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.006332, allocations: 61.77 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.006343, allocations: 7.875 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.006351, allocations: 0 / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006358, allocations: 0 / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.006383, allocations: 4 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.006492, allocations: 74.69 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.006592, allocations: 41.42 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.006612, allocations: 8.859 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.006625, allocations: 4 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.885e-05/0.006723, allocations: 70.08 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.006725, allocations: 0 / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001511/0.006876, allocations: 57.67 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.006922, allocations: 55.34 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.00705, allocations: 173.5 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.007067, allocations: 29.7 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.007104, allocations: 100.1 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.007147, allocations: 19.83 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.007181, allocations: 25.7 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.007295, allocations: 322.8 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.007312, allocations: 10.83 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.007338, allocations: 21.64 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.007598, allocations: 31.36 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007601, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.622e-05/0.007677, allocations: 64.44 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.007691, allocations: 8.031 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.007696, allocations: 4 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.007718, allocations: 0 / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.007792, allocations: 11.94 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.007798, allocations: 4 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.007832, allocations: 3.984 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.007839, allocations: 4.312 kB / 328.3 MB, free: 4.422 MB / 298.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 (7): * Single equations (assignments): 7 * 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.196e-05/0.007911, allocations: 112.7 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.007925, allocations: 15.92 kB / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.573e-05/0.008021, allocations: 62.83 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.008025, allocations: 7.984 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.008027, allocations: 3.938 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.00803, allocations: 0 / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.762e-05/0.008118, allocations: 81.88 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008119, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.008137, allocations: 4 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.008138, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.008145, allocations: 4 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.008146, allocations: 0 / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008148, allocations: 3.984 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.468e-05/0.008223, allocations: 86.66 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.008243, allocations: 27.83 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.00826, allocations: 4 kB / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.008279, allocations: 0 / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.008305, allocations: 7.984 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.008315, allocations: 0 / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.00836, allocations: 55.58 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008361, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.008493, allocations: 23.92 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001253/0.009746, allocations: 0.4962 MB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.009854, allocations: 36.77 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.00986, allocations: 4 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.009889, allocations: 16.86 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.01004, allocations: 28.16 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.01034, allocations: 202.8 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.01038, allocations: 71.27 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.01041, allocations: 8.484 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.01046, allocations: 71.42 kB / 329.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01046, allocations: 0 / 329.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of Templates: time 0.003237/0.0137, allocations: 1.768 MB / 331.5 MB, free: 1.414 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.9782563359476626]