Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001258/0.001258, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002416/0.003674, 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.001007/0.001007, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.002748, 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 1.251/1.251, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.387, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.3215/0.3215, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02564/0.3471, allocations: 12.52 MB / 289.3 MB, free: 8.68 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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.963e-05, allocations: 6.391 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002882/0.002902, allocations: 1.807 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004203, allocations: 1.02 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.00428, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.004467, allocations: 45.25 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.004687, allocations: 95.72 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.004832, allocations: 79.59 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.004994, allocations: 111.6 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005095, allocations: 8.75 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.005235, allocations: 83.73 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.00533, allocations: 27.91 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.005347, allocations: 4 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.005427, allocations: 43.92 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.005474, allocations: 19.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.00551, allocations: 19.92 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.005671, allocations: 95.56 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.715e-05/0.005688, allocations: 0 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005689, allocations: 0 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.005706, allocations: 0 / 294.1 MB, free: 4.754 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.0004926/0.006198, allocations: 344.5 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.006237, allocations: 12.03 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.006271, allocations: 8.938 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.006432, allocations: 150.1 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006447, allocations: 4.359 kB / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.006466, allocations: 8.375 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.006575, allocations: 57.77 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006586, allocations: 7.875 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.006594, allocations: 3.984 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006599, allocations: 0 / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.97e-05/0.006629, allocations: 19.94 kB / 294.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.006862, allocations: 173.8 kB / 294.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.00696, allocations: 81.3 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.006985, allocations: 20.89 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.006998, allocations: 0 / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.007104, allocations: 66.09 kB / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.007105, allocations: 0 / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003735/0.007479, allocations: 105.8 kB / 295.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.007522, allocations: 55.41 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.007652, allocations: 184.8 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.007671, allocations: 29.7 kB / 295.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.00771, allocations: 92.11 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.007747, allocations: 31.72 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.007783, allocations: 21.72 kB / 295.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.007882, allocations: 330.8 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.007898, allocations: 10.83 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.007922, allocations: 25.81 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.00797, allocations: 44.47 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007972, allocations: 4 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.769e-05/0.008049, allocations: 72.38 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.008063, allocations: 7.984 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008068, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.008078, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.008153, allocations: 16 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.008156, allocations: 0 / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.00819, allocations: 11.98 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.008196, allocations: 0 / 296.1 MB, free: 2.613 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 8.201e-05/0.008278, allocations: 124.7 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.008292, allocations: 15.92 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.008401, allocations: 71.23 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008403, allocations: 0 / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008405, allocations: 0 / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008408, allocations: 0 / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.008647, allocations: 299.4 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008648, allocations: 0 / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.008676, allocations: 12 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.008688, allocations: 15.84 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.00869, allocations: 4.031 kB / 296.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.008698, allocations: 11.92 kB / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008699, allocations: 0 / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0087, allocations: 0 / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.008812, allocations: 219 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.008829, allocations: 4 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.008867, allocations: 7.938 kB / 296.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.008898, allocations: 7.984 kB / 296.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.008912, allocations: 4 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.008957, allocations: 51.64 kB / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008957, allocations: 4 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.009105, allocations: 31.92 kB / 297 MB, free: 1.68 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.001518/0.01062, allocations: 0.634 MB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01074, allocations: 48.7 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.01074, allocations: 0 / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.01078, allocations: 28.78 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01096, allocations: 43.95 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.01147, allocations: 235.6 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01151, allocations: 67.33 kB / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.01155, allocations: 21.41 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.01162, allocations: 71.36 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01162, allocations: 0 / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of Templates: time 0.003731/0.01535, allocations: 2.035 MB / 300.1 MB, free: 14.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.3879816001281142]