Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001196/0.001196, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001873/0.003069, 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.001051/0.001051, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002575, 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.9383/0.9383, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1585/1.097, allocations: 52.48 MB / 238.5 MB, free: 7.66 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.1584/0.1584, allocations: 32.8 MB / 272 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02505/0.1835, allocations: 12.54 MB / 284.5 MB, free: 9.742 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 285.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.366e-05, allocations: 6.25 kB / 285.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001832/0.001845, allocations: 1.807 MB / 287.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.002763, allocations: 0.8843 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.002815, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.002999, allocations: 87.56 kB / 288.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.003134, allocations: 75.61 kB / 288.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.003316, allocations: 119.5 kB / 288.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.003448, allocations: 111.7 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.003522, allocations: 7.984 kB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003633, allocations: 99.69 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.003714, allocations: 47.88 kB / 289.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.00373, allocations: 4 kB / 289.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.003813, allocations: 63.84 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.003863, allocations: 23.88 kB / 289.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.003892, allocations: 15.94 kB / 289.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.004036, allocations: 103.7 kB / 289.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.004047, allocations: 0 / 289.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004047, allocations: 4 kB / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.004059, allocations: 3.984 kB / 289.4 MB, free: 4.879 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.0003989/0.004458, allocations: 355.6 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.004486, allocations: 8.031 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.004519, allocations: 12.92 kB / 289.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004655, allocations: 137.6 kB / 289.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.004669, allocations: 8.375 kB / 289.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.004686, allocations: 4.375 kB / 289.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.004778, allocations: 65.75 kB / 290 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.004788, allocations: 3.938 kB / 290 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004796, allocations: 11.98 kB / 290 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.0048, allocations: 0 / 290 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.004825, allocations: 11.94 kB / 290 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.005017, allocations: 173.9 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.005149, allocations: 97.27 kB / 290.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005168, allocations: 12.86 kB / 290.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.005177, allocations: 0 / 290.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.863e-05/0.005266, allocations: 74.28 kB / 290.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.005267, allocations: 0 / 290.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003858/0.005652, allocations: 177.3 kB / 290.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.005679, allocations: 59.41 kB / 290.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.005785, allocations: 177 kB / 290.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.005798, allocations: 25.7 kB / 290.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.00583, allocations: 99.97 kB / 290.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.00586, allocations: 39.67 kB / 290.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.00589, allocations: 29.7 kB / 290.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.005964, allocations: 326.8 kB / 291.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.005981, allocations: 10.83 kB / 291.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.006007, allocations: 37.06 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.006059, allocations: 60.44 kB / 291.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.00606, allocations: 0 / 291.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.404e-05/0.006134, allocations: 84.36 kB / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.006144, allocations: 4 kB / 291.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.006147, allocations: 0 / 291.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006158, allocations: 4 kB / 291.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.006216, allocations: 23.98 kB / 291.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.006221, allocations: 4 kB / 291.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.006245, allocations: 4.031 kB / 291.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.006251, allocations: 4 kB / 291.5 MB, free: 2.598 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 5.879e-05/0.00631, allocations: 124.5 kB / 291.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.006322, allocations: 7.984 kB / 291.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.006436, allocations: 95.06 kB / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006438, allocations: 0 / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006439, allocations: 0 / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.006443, allocations: 3.984 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.006667, allocations: 324.2 kB / 292 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.00667, allocations: 8.062 kB / 292 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.006704, allocations: 15.98 kB / 292.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.006715, allocations: 15.91 kB / 292.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006717, allocations: 0 / 292.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.006724, allocations: 4 kB / 292.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.006727, allocations: 8 kB / 292.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006729, allocations: 3.938 kB / 292.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.00683, allocations: 231.8 kB / 292.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.006848, allocations: 8 kB / 292.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.006888, allocations: 3.984 kB / 292.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.00691, allocations: 11.98 kB / 292.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.006922, allocations: 11.94 kB / 292.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.006964, allocations: 55.88 kB / 292.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006964, allocations: 0 / 292.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.007107, allocations: 35.94 kB / 292.4 MB, free: 1.574 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.001427/0.008534, allocations: 0.711 MB / 293.1 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.008626, allocations: 56.77 kB / 293.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.008633, allocations: 4 kB / 293.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.008676, allocations: 44.72 kB / 293.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.008896, allocations: 178.2 kB / 293.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.009321, allocations: 264.8 kB / 293.7 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.00936, allocations: 71.33 kB / 293.8 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.0094, allocations: 24.89 kB / 293.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.009466, allocations: 71.36 kB / 293.8 MB, free: 456 kB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009467, allocations: 0 / 293.8 MB, free: 456 kB / 282.7 MB Notification: Performance of Templates: time 0.003538/0.01301, allocations: 2.286 MB / 296.1 MB, free: 14.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.8798972545191646]