Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001074/0.001074, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002805, 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.0007774/0.0007774, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009507/0.001728, 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.9194/0.9194, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1743/1.094, allocations: 52.48 MB / 238.5 MB, free: 7.633 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.1348/0.1348, allocations: 32.81 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0248/0.1596, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.014e-05, allocations: 2.312 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002756/0.002786, allocations: 1.79 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003805, allocations: 0.8843 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.003867, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.004076, allocations: 43.77 kB / 288.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.004213, allocations: 63.56 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.004408, allocations: 119.5 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.004559, allocations: 87.72 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.004651, allocations: 16.16 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.004782, allocations: 75.77 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.004858, allocations: 23.92 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004876, allocations: 8 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.004952, allocations: 43.92 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.005004, allocations: 19.92 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.005037, allocations: 15.94 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.0052, allocations: 103.5 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.005213, allocations: 0 / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.005216, allocations: 4 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.005228, allocations: 0 / 289.2 MB, free: 5.016 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.0005034/0.005731, allocations: 335.8 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.00577, allocations: 8.031 kB / 289.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.00581, allocations: 16.92 kB / 289.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.005994, allocations: 150 kB / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.006012, allocations: 384 / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.006036, allocations: 8.375 kB / 289.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.006155, allocations: 57.77 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006166, allocations: 3.938 kB / 289.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.006177, allocations: 11.92 kB / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.006184, allocations: 0 / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.006213, allocations: 15.98 kB / 289.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.006422, allocations: 169.9 kB / 290 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.006522, allocations: 93.3 kB / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.006544, allocations: 8.859 kB / 290.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.006557, allocations: 4 kB / 290.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.00666, allocations: 62.16 kB / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.006661, allocations: 0 / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003175/0.006978, allocations: 117.5 kB / 290.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.007014, allocations: 51.41 kB / 290.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.007137, allocations: 192.2 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.007155, allocations: 29.7 kB / 290.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.00719, allocations: 100.1 kB / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.00722, allocations: 27.78 kB / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.007252, allocations: 25.7 kB / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.007351, allocations: 326.8 kB / 291 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.007368, allocations: 10.77 kB / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.007395, allocations: 25.7 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.007437, allocations: 36.52 kB / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.007438, allocations: 0 / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.768e-05/0.007516, allocations: 80.47 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.00753, allocations: 12 kB / 291.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007534, allocations: 0 / 291.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.007546, allocations: 0 / 291.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.007626, allocations: 19.98 kB / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007631, allocations: 0 / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.007663, allocations: 4 kB / 291.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.007668, allocations: 0 / 291.2 MB, free: 2.871 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.832e-05/0.007737, allocations: 124.6 kB / 291.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.007749, allocations: 7.938 kB / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.007855, allocations: 87.06 kB / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007857, allocations: 0 / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.007858, allocations: 0 / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.007862, allocations: 0 / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.008093, allocations: 295.4 kB / 291.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008094, allocations: 4.312 kB / 291.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.008124, allocations: 15.98 kB / 291.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.008136, allocations: 11.91 kB / 291.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.00814, allocations: 4 kB / 291.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.008146, allocations: 0 / 291.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.008149, allocations: 4 kB / 291.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00815, allocations: 4.031 kB / 291.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.008259, allocations: 223 kB / 291.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.008277, allocations: 4 kB / 292 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.008313, allocations: 0 / 292 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.008337, allocations: 7.984 kB / 292 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.008352, allocations: 8 kB / 292 MB, free: 2.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.008397, allocations: 56.7 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008397, allocations: 0 / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.008541, allocations: 23.92 kB / 292 MB, free: 1.941 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.001326/0.009867, allocations: 0.6351 MB / 292.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.009969, allocations: 56.7 kB / 292.7 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.009977, allocations: 96 / 292.7 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.01002, allocations: 33.06 kB / 292.8 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.0002394/0.01026, allocations: 188.4 kB / 293 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.01074, allocations: 243.4 kB / 293.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.01078, allocations: 67.34 kB / 293.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.342e-05/0.01082, allocations: 16.48 kB / 293.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.01088, allocations: 71.45 kB / 293.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01088, allocations: 0 / 293.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of Templates: time 0.00347/0.01435, allocations: 2.025 MB / 295.4 MB, free: 14.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.6946552488952875]