Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001121/0.001121, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002668, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001051/0.001051, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002225, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9596/0.9596, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09922/1.059, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2591/0.2591, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02497/0.2841, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.876e-05, allocations: 4.203 kB / 290.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002238/0.002257, allocations: 1.815 MB / 292.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003504, allocations: 1.024 MB / 293.5 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.003575, allocations: 11.56 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.003801, allocations: 102 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.004017, allocations: 127.4 kB / 293.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.004172, allocations: 79.66 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004341, allocations: 135.5 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.004431, allocations: 7.984 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.00456, allocations: 99.78 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.004657, allocations: 51.88 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.004673, allocations: 8 kB / 294.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.004767, allocations: 63.84 kB / 294.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.004812, allocations: 27.88 kB / 294.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.004849, allocations: 15.94 kB / 294.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.005018, allocations: 123.5 kB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.005035, allocations: 0 / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005037, allocations: 0 / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.005052, allocations: 0 / 294.4 MB, free: 4.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004451/0.005497, allocations: 368.3 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.005527, allocations: 12.03 kB / 294.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.005556, allocations: 4.938 kB / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.005725, allocations: 169.4 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.005741, allocations: 4.375 kB / 294.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.005757, allocations: 4.375 kB / 294.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005876, allocations: 69.75 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.005886, allocations: 3.938 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005895, allocations: 0 / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005901, allocations: 0 / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.005932, allocations: 11.98 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.006134, allocations: 181.8 kB / 295.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.006276, allocations: 85.3 kB / 295.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.006298, allocations: 24.97 kB / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.006308, allocations: 0 / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.413e-05/0.006402, allocations: 66.22 kB / 295.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.006403, allocations: 3.938 kB / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004244/0.006827, allocations: 169.9 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.006857, allocations: 51.41 kB / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.006974, allocations: 215.7 kB / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.006988, allocations: 29.7 kB / 295.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.007022, allocations: 96.11 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.007054, allocations: 39.69 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.007085, allocations: 29.69 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.007176, allocations: 330.7 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.007196, allocations: 14.81 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.007227, allocations: 30.7 kB / 296.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.007282, allocations: 54.14 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.007284, allocations: 0 / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.478e-05/0.007378, allocations: 88.42 kB / 296.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.007391, allocations: 4 kB / 296.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007396, allocations: 8.031 kB / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.007405, allocations: 0 / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.00747, allocations: 23.98 kB / 296.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.007474, allocations: 0 / 296.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.007502, allocations: 4 kB / 296.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.007509, allocations: 0 / 296.5 MB, free: 2.18 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 (13): * Single equations (assignments): 13 * 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 8.752e-05/0.007597, allocations: 124.5 kB / 296.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.007612, allocations: 15.98 kB / 296.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.007748, allocations: 88.92 kB / 296.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007751, allocations: 4 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007754, allocations: 11.97 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.007759, allocations: 0 / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.008036, allocations: 336.1 kB / 297.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008037, allocations: 0 / 297.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.008074, allocations: 23.98 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.008089, allocations: 11.91 kB / 297.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.008091, allocations: 0 / 297.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.0081, allocations: 7.984 kB / 297.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.008102, allocations: 0 / 297.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.008104, allocations: 4.062 kB / 297.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.008242, allocations: 239.8 kB / 297.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.00826, allocations: 0 / 297.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.008302, allocations: 8 kB / 297.4 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.008336, allocations: 7.984 kB / 297.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.008351, allocations: 7.938 kB / 297.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.008407, allocations: 68.86 kB / 297.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008407, allocations: 0 / 297.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.008563, allocations: 31.94 kB / 297.5 MB, free: 1.137 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001675/0.01024, allocations: 0.7233 MB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.01036, allocations: 56.77 kB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.01037, allocations: 0 / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.01041, allocations: 32.78 kB / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01063, allocations: 47.72 kB / 298.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.0112, allocations: 274 kB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.01124, allocations: 76.27 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01128, allocations: 12.64 kB / 298.7 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.01135, allocations: 75.36 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01135, allocations: 0 / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of Templates: time 0.003954/0.0153, allocations: 2.356 MB / 301.1 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.071048516780138]