Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001709/0.001709, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001813/0.001813, allocations: 174.5 kB / 24.91 MB, free: 8.773 MB / 18.57 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.9739/0.9739, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2713/0.2713, allocations: 34.26 MB / 296.1 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.533e-05, allocations: 4.172 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002076/0.002091, allocations: 1.762 MB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003172, allocations: 1.006 MB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.003229, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.003469, allocations: 43.7 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.003697, allocations: 99.53 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.003831, allocations: 79.61 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003957, allocations: 111.6 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.214e-05/0.004019, allocations: 4 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.004097, allocations: 59.77 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.004162, allocations: 23.91 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004177, allocations: 4 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.004244, allocations: 43.92 kB / 328.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.004291, allocations: 27.91 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.004319, allocations: 16.44 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.00445, allocations: 107.6 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004452, allocations: 4 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004452, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.004455, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.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.0002909/0.004746, allocations: 321.5 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.004772, allocations: 12.03 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.004796, allocations: 4.938 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.004918, allocations: 151.4 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.00493, allocations: 384 / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.004947, allocations: 12.36 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.005034, allocations: 61.77 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005042, allocations: 7.938 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.005048, allocations: 0 / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.005051, allocations: 0 / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.005073, allocations: 11.94 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.005389, allocations: 162 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/0.005463, allocations: 85.28 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005481, allocations: 16.84 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.005489, allocations: 0 / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.43e-05/0.005564, allocations: 74.08 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.005564, allocations: 7.938 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002318/0.005796, allocations: 113.6 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.005822, allocations: 55.34 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.321e-05/0.005915, allocations: 173.3 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.005928, allocations: 29.7 kB / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.005962, allocations: 96.11 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.005989, allocations: 27.78 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.006027, allocations: 29.69 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.00611, allocations: 322.8 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.006127, allocations: 6.828 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.006156, allocations: 33.69 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.02e-05/0.006206, allocations: 40.47 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006207, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.825e-05/0.006296, allocations: 76.42 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006307, allocations: 8 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006311, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.006319, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.006383, allocations: 19.92 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006385, allocations: 0 / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.006418, allocations: 8.031 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006423, allocations: 384 / 330.6 MB, free: 2.109 MB / 298.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.187e-05/0.006485, allocations: 116.7 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.006502, allocations: 15.92 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.006606, allocations: 79.06 kB / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006607, allocations: 0 / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006612, allocations: 4 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.006615, allocations: 0 / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.006842, allocations: 291.5 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006844, allocations: 4.031 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.006871, allocations: 12 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006874, allocations: 4 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006881, allocations: 3.984 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006882, allocations: 0 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006883, allocations: 80 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.006997, allocations: 223 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.007009, allocations: 7.953 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.007027, allocations: 7.938 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.007091, allocations: 7.984 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.007114, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.007127, allocations: 7.984 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.007174, allocations: 47.66 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007174, allocations: 0 / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.007388, allocations: 31.86 kB / 331.5 MB, free: 1.188 MB / 298.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.001334/0.008722, allocations: 0.5815 MB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.008807, allocations: 40.77 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.008809, allocations: 0 / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.008842, allocations: 24.84 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.009068, allocations: 35.92 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.009358, allocations: 223.6 kB / 332.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.009398, allocations: 67.47 kB / 332.5 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.009437, allocations: 21.27 kB / 332.5 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.009505, allocations: 71.36 kB / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009505, allocations: 0 / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of Templates: time 0.003715/0.01322, allocations: 1.994 MB / 334.5 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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: 2.919105307199061]