Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009954/0.0009954, allocations: 76.19 kB / 9.91 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.00262, allocations: 447.8 kB / 10.35 MB, free: 348 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.001077/0.001077, allocations: 157.2 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002387, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 158.6 MB / 171 MB, free: 2.164 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1731/1.201, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1346/0.1346, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02428/0.1589, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.363e-05, allocations: 6.312 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003539/0.003563, allocations: 1.774 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.00506, allocations: 0.8036 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.005162, allocations: 0 / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.005592, allocations: 115.5 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.005813, allocations: 83.64 kB / 270.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.006081, allocations: 87.7 kB / 270.1 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.006271, allocations: 119.6 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.006378, allocations: 12.17 kB / 270.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.006523, allocations: 91.8 kB / 270.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.006623, allocations: 55.86 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.006645, allocations: 4 kB / 270.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.006733, allocations: 47.86 kB / 270.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.006781, allocations: 27.88 kB / 270.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.006821, allocations: 15.94 kB / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.007019, allocations: 111.6 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.007038, allocations: 4 kB / 270.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007039, allocations: 0 / 270.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.007059, allocations: 4 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004907/0.00755, allocations: 355.7 kB / 271 MB, free: 2.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.007581, allocations: 8.031 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.007614, allocations: 12.92 kB / 271 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.007766, allocations: 161.3 kB / 271.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.007784, allocations: 4.375 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.007804, allocations: 384 / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.007932, allocations: 73.75 kB / 271.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.007946, allocations: 7.938 kB / 271.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.007955, allocations: 0 / 271.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.007961, allocations: 4 kB / 271.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.007996, allocations: 15.97 kB / 271.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.008241, allocations: 181.8 kB / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.008349, allocations: 97.36 kB / 271.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.00837, allocations: 12.84 kB / 271.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.008384, allocations: 7.938 kB / 271.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.008495, allocations: 70.16 kB / 271.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.008496, allocations: 0 / 271.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003793/0.008875, allocations: 121.5 kB / 271.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.008917, allocations: 55.41 kB / 271.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.009049, allocations: 197.2 kB / 272 MB, free: 1.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.009068, allocations: 29.7 kB / 272 MB, free: 1.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.009111, allocations: 111.7 kB / 272.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.009141, allocations: 19.84 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.009181, allocations: 25.7 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.009266, allocations: 326.8 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.009285, allocations: 18.81 kB / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.00931, allocations: 21.72 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.009358, allocations: 51.27 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.00936, allocations: 4 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.168e-05/0.009441, allocations: 76.41 kB / 272.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.009455, allocations: 8 kB / 272.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.00946, allocations: 0 / 272.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.00947, allocations: 0 / 272.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.009544, allocations: 27.98 kB / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.009548, allocations: 8.031 kB / 272.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.009571, allocations: 0 / 272.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.009577, allocations: 4 kB / 272.7 MB, free: 0.8242 MB / 266.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 (11): * Single equations (assignments): 11 * 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 7.13e-05/0.009648, allocations: 120.6 kB / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.009662, allocations: 15.92 kB / 272.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.009783, allocations: 91 kB / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.009785, allocations: 0 / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.009787, allocations: 0 / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.009791, allocations: 4 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.01001, allocations: 311.4 kB / 273.2 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01001, allocations: 4 kB / 273.2 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.01004, allocations: 19.92 kB / 273.3 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.01006, allocations: 11.91 kB / 273.3 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01006, allocations: 0 / 273.3 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.01006, allocations: 8 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.01007, allocations: 0 / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01007, allocations: 0 / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.01018, allocations: 223.4 kB / 273.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.0102, allocations: 7.938 kB / 273.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.01023, allocations: 4 kB / 273.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.01026, allocations: 15.95 kB / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.01027, allocations: 4 kB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.01032, allocations: 71.69 kB / 273.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 273.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.01046, allocations: 24 kB / 273.6 MB, free: 15.84 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 (11): * Single equations (assignments): 9 * 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.001245/0.01171, allocations: 0.6402 MB / 274.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.647e-05/0.01181, allocations: 48.77 kB / 274.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.01182, allocations: 7.984 kB / 274.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.01185, allocations: 24.8 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.01204, allocations: 47.81 kB / 274.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.01252, allocations: 267 kB / 274.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.01257, allocations: 75.11 kB / 274.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.904e-05/0.01261, allocations: 20.95 kB / 274.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.01267, allocations: 67.36 kB / 274.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01267, allocations: 0 / 274.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of Templates: time 0.003743/0.01641, allocations: 2.178 MB / 277 MB, free: 12.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.01424412894994]