Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001109/0.001109, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001858/0.002967, 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.001008/0.001008, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002554, 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 1.016/1.016, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1941/1.21, allocations: 52.5 MB / 238.5 MB, free: 7.625 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.1478/0.1478, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02786/0.1756, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.047e-05, allocations: 5.406 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002216/0.002237, allocations: 1.78 MB / 287.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.003225, allocations: 0.8882 MB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.003295, allocations: 0 / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.003473, allocations: 31.78 kB / 288.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.003625, allocations: 63.58 kB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.003876, allocations: 115.5 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.004025, allocations: 95.69 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.004109, allocations: 12.17 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.004223, allocations: 75.77 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.004294, allocations: 23.91 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.00431, allocations: 4 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.004396, allocations: 43.92 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.00444, allocations: 19.94 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.004469, allocations: 19.88 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.004625, allocations: 87.67 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.004634, allocations: 0 / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004635, allocations: 0 / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.004643, allocations: 0 / 289.2 MB, free: 5.051 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.0004038/0.005047, allocations: 331.9 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.005075, allocations: 8.031 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.005106, allocations: 12.92 kB / 289.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.005249, allocations: 152.6 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.005262, allocations: 4.375 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.005281, allocations: 8.359 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.005384, allocations: 61.77 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005392, allocations: 3.938 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005399, allocations: 4 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005405, allocations: 4 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.005426, allocations: 7.984 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.005629, allocations: 162 kB / 289.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/0.005715, allocations: 93.28 kB / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.005732, allocations: 12.86 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.005742, allocations: 0 / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.927e-05/0.005832, allocations: 66.16 kB / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.71e-07/0.005832, allocations: 0 / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002822/0.006115, allocations: 113.5 kB / 290.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.006142, allocations: 55.41 kB / 290.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.006229, allocations: 164.3 kB / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.006243, allocations: 25.7 kB / 290.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.006271, allocations: 92.11 kB / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.006294, allocations: 27.78 kB / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.006325, allocations: 29.7 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.006399, allocations: 326.8 kB / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.006418, allocations: 10.77 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.006439, allocations: 29.64 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.006478, allocations: 40.52 kB / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006479, allocations: 0 / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.713e-05/0.006557, allocations: 76.44 kB / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006569, allocations: 4 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006573, allocations: 32 / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.006585, allocations: 4 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.006655, allocations: 23.98 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.00666, allocations: 0 / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.006691, allocations: 4 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006696, allocations: 0 / 291.1 MB, free: 2.953 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.26e-05/0.006759, allocations: 120.6 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.006773, allocations: 15.92 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.00688, allocations: 78.38 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006882, allocations: 0 / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006883, allocations: 4 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.00689, allocations: 384 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.007115, allocations: 295.4 kB / 291.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.007117, allocations: 4 kB / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.007145, allocations: 8 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.007155, allocations: 11.94 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007157, allocations: 0 / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.007165, allocations: 8 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007167, allocations: 0 / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007169, allocations: 0 / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.007271, allocations: 215 kB / 291.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.007286, allocations: 8 kB / 291.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.007325, allocations: 3.984 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.007349, allocations: 7.984 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.007362, allocations: 4 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.007409, allocations: 45.41 kB / 291.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007409, allocations: 0 / 291.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000164/0.007573, allocations: 27.92 kB / 291.9 MB, free: 2.047 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.001558/0.00913, allocations: 0.6411 MB / 292.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.009259, allocations: 48.77 kB / 292.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.009268, allocations: 0 / 292.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.009314, allocations: 32.78 kB / 292.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.009578, allocations: 187.7 kB / 292.9 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.01013, allocations: 215.5 kB / 293.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01018, allocations: 75.33 kB / 293.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.01022, allocations: 12.5 kB / 293.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.0103, allocations: 67.36 kB / 293.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0103, allocations: 0 / 293.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Templates: time 0.00421/0.01451, allocations: 2.025 MB / 295.2 MB, free: 15.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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: 3.0932685174047947]