Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001031/0.001031, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.00122/0.00122, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 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 0.9554/0.9554, allocations: 158.6 MB / 185.7 MB, free: 2.902 MB / 170.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.1298/0.1298, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.544e-05, allocations: 6.25 kB / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002316/0.002351, allocations: 1.74 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.003359, allocations: 0.7959 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.003444, allocations: 0 / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.00384, allocations: 83.7 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.00409, allocations: 79.59 kB / 350.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.004279, allocations: 87.7 kB / 350.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004429, allocations: 111.7 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004535, allocations: 4.234 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.004619, allocations: 67.75 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.004732, allocations: 59.86 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.004754, allocations: 4 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.004832, allocations: 35.92 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.004888, allocations: 27.92 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.004933, allocations: 27.86 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.005112, allocations: 95.66 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005115, allocations: 0 / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005116, allocations: 0 / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.005123, allocations: 4 kB / 351 MB, free: 6.129 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.0003968/0.005519, allocations: 451.8 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.005557, allocations: 12.03 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.005602, allocations: 8.891 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.005746, allocations: 148.4 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.005765, allocations: 12.31 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.005785, allocations: 4.375 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005902, allocations: 66.92 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005911, allocations: 3.938 kB / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.00592, allocations: 0 / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005927, allocations: 0 / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.005959, allocations: 11.94 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.006223, allocations: 291.8 kB / 351.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.006318, allocations: 55.16 kB / 352 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.006347, allocations: 19.61 kB / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.006361, allocations: 11.94 kB / 352 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.387e-05/0.006455, allocations: 65.05 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.006457, allocations: 0 / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003981/0.006855, allocations: 157.5 kB / 352.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.006883, allocations: 55.39 kB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006986, allocations: 238.6 kB / 352.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.006995, allocations: 29.7 kB / 352.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.007033, allocations: 150.9 kB / 352.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.007057, allocations: 27.84 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.007086, allocations: 31.38 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.007139, allocations: 0.4962 MB / 353.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.007161, allocations: 16.17 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.007192, allocations: 39.36 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.007245, allocations: 51.25 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007246, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.088e-05/0.007337, allocations: 93.52 kB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.00735, allocations: 8 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007355, allocations: 0 / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007368, allocations: 3.984 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.007441, allocations: 16.03 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.007447, allocations: 4 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.007476, allocations: 4 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007483, allocations: 4 kB / 353.5 MB, free: 3.359 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 5.342e-05/0.007536, allocations: 168.5 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.00755, allocations: 19.84 kB / 353.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.007696, allocations: 103.3 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.0077, allocations: 7.938 kB / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007703, allocations: 0 / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007707, allocations: 0 / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.007931, allocations: 400.9 kB / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007933, allocations: 0 / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.007963, allocations: 15.94 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.007966, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.007974, allocations: 3.984 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007976, allocations: 0 / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.007977, allocations: 4 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.008077, allocations: 259.4 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.008088, allocations: 11.91 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.008105, allocations: 4.031 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.008144, allocations: 8 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.008177, allocations: 3.984 kB / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.008191, allocations: 4 kB / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.008247, allocations: 187.1 kB / 354.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008247, allocations: 0 / 354.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.008407, allocations: 20 kB / 354.7 MB, free: 2.074 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.0008483/0.009255, allocations: 435.6 kB / 355.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.009378, allocations: 63.53 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009379, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.009415, allocations: 35.61 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.00965, allocations: 27.89 kB / 355.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.009976, allocations: 229.4 kB / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.01001, allocations: 63.34 kB / 355.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.437e-05/0.01004, allocations: 20.47 kB / 355.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.01007, allocations: 16.62 kB / 355.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01008, allocations: 0 / 355.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of Templates: time 0.003667/0.01374, allocations: 1.987 MB / 357.6 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.208704518619925]