Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007351/0.0007351, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001777, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000641/0.000641, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009311/0.001572, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9007/0.9007, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.168/1.069, allocations: 52.5 MB / 238.5 MB, free: 7.609 MB / 234.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.1517/0.1517, allocations: 32.79 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03384/0.1855, allocations: 12.54 MB / 284.5 MB, free: 9.699 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.528e-05, allocations: 6.312 kB / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002394/0.00241, allocations: 1.787 MB / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003558, allocations: 0.8765 MB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.003618, allocations: 4 kB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.00379, allocations: 35.78 kB / 288.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.003936, allocations: 63.56 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.004162, allocations: 107.5 kB / 288.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.004309, allocations: 103.7 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.004384, allocations: 8.172 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004504, allocations: 75.77 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.004575, allocations: 27.91 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.00459, allocations: 0 / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.004671, allocations: 47.92 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.004713, allocations: 15.94 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.004747, allocations: 15.88 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004911, allocations: 91.67 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.004923, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004923, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.004931, allocations: 0 / 289.2 MB, free: 5.039 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.0004175/0.005349, allocations: 323.9 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.005378, allocations: 8.031 kB / 289.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.005411, allocations: 8.922 kB / 289.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.005562, allocations: 149.4 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005577, allocations: 8.375 kB / 289.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.005596, allocations: 384 / 289.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005704, allocations: 69.75 kB / 289.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.005713, allocations: 3.938 kB / 289.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.00572, allocations: 0 / 289.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.005726, allocations: 4 kB / 289.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.005751, allocations: 11.98 kB / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.005943, allocations: 166 kB / 289.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.006037, allocations: 89.22 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.006057, allocations: 12.86 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.006067, allocations: 4 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.202e-05/0.006159, allocations: 66.16 kB / 290.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.00616, allocations: 0 / 290.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002866/0.006447, allocations: 113.5 kB / 290.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.006478, allocations: 51.41 kB / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.006581, allocations: 161.7 kB / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.006595, allocations: 25.7 kB / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.00663, allocations: 100.1 kB / 290.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.006661, allocations: 27.8 kB / 290.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.006697, allocations: 25.69 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.006781, allocations: 322.8 kB / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.006801, allocations: 14.77 kB / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.006828, allocations: 21.7 kB / 290.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.006875, allocations: 40.52 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006876, allocations: 0 / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.174e-05/0.006968, allocations: 84.42 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00698, allocations: 4 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.006984, allocations: 4.031 kB / 291.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006995, allocations: 0 / 291.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.007064, allocations: 23.92 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007068, allocations: 0 / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.007099, allocations: 4 kB / 291.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.007105, allocations: 0 / 291.1 MB, free: 2.949 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 6.418e-05/0.007169, allocations: 120.6 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.007187, allocations: 15.92 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.00729, allocations: 74.39 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007292, allocations: 0 / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007293, allocations: 4 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007296, allocations: 0 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.00752, allocations: 287.8 kB / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.007523, allocations: 4 kB / 291.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.007555, allocations: 16 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.007567, allocations: 7.953 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007569, allocations: 0 / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007576, allocations: 4 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007577, allocations: 0 / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.007579, allocations: 3.984 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.007696, allocations: 219 kB / 291.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.007716, allocations: 8 kB / 291.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.007771, allocations: 0 / 291.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.007798, allocations: 7.984 kB / 291.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.007809, allocations: 4 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.007852, allocations: 46.89 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007852, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.008056, allocations: 27.89 kB / 291.9 MB, free: 2.051 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.001617/0.009674, allocations: 0.6314 MB / 292.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.009807, allocations: 52.7 kB / 292.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.009818, allocations: 7.969 kB / 292.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.00987, allocations: 29.05 kB / 292.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.01019, allocations: 176.4 kB / 292.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.01074, allocations: 227.3 kB / 293 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.01079, allocations: 67.34 kB / 293.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.01083, allocations: 16.48 kB / 293.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.0109, allocations: 63.38 kB / 293.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0109, allocations: 3.938 kB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of Templates: time 0.004116/0.01502, allocations: 2.014 MB / 295.2 MB, free: 15.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8542174361646175]