Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001176/0.001176, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001406/0.001406, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.062/1.062, allocations: 158.6 MB / 186 MB, free: 2.402 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.1434/0.1434, allocations: 32.37 MB / 270.7 MB, free: 14.5 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.633e-05, allocations: 9.344 kB / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002372/0.002399, allocations: 1.683 MB / 349.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.003314, allocations: 0.7765 MB / 350.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.003409, allocations: 0 / 350.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.00376, allocations: 51.81 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.003997, allocations: 63.62 kB / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.004233, allocations: 75.72 kB / 350.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.004387, allocations: 107.6 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.004432, allocations: 4 kB / 351 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.004525, allocations: 47.84 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.004601, allocations: 23.91 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.00462, allocations: 4 kB / 351 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.004697, allocations: 35.92 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.00475, allocations: 27.86 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.004787, allocations: 15.94 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004934, allocations: 91.66 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004938, allocations: 0 / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004939, allocations: 0 / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.004944, allocations: 7.938 kB / 351.2 MB, free: 6.059 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003836/0.005328, allocations: 467.7 kB / 351.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.005369, allocations: 8.031 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.005409, allocations: 20.84 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.005544, allocations: 156.4 kB / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.005561, allocations: 384 / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.00557, allocations: 4.359 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.005673, allocations: 50.95 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.00568, allocations: 3.938 kB / 351.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.005686, allocations: 3.984 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005692, allocations: 11.98 kB / 351.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.005713, allocations: 7.938 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.005817, allocations: 125.2 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.005892, allocations: 39.11 kB / 352.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.005911, allocations: 15.69 kB / 352.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.005925, allocations: 0 / 352.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.667e-05/0.006011, allocations: 76.97 kB / 352.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.006012, allocations: 0 / 352.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001533/0.006165, allocations: 89.52 kB / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.006189, allocations: 51.41 kB / 352.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.006325, allocations: 265.3 kB / 352.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.00634, allocations: 25.7 kB / 352.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.0064, allocations: 166.8 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.006441, allocations: 15.84 kB / 352.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.006481, allocations: 27.36 kB / 352.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.006606, allocations: 0.5001 MB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.006633, allocations: 11.94 kB / 353.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.006666, allocations: 31.28 kB / 353.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.006718, allocations: 35.38 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00672, allocations: 0 / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001032/0.006824, allocations: 73.53 kB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.006841, allocations: 4 kB / 353.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.006849, allocations: 0 / 353.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.006869, allocations: 7.938 kB / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.006958, allocations: 15.98 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006962, allocations: 0 / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.007, allocations: 4 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.007012, allocations: 0 / 353.5 MB, free: 3.562 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 (7): * Single equations (assignments): 7 * 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.074e-05/0.007083, allocations: 160.6 kB / 353.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.007103, allocations: 19.91 kB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.007233, allocations: 78.77 kB / 353.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.007237, allocations: 7.922 kB / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007239, allocations: 0 / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.007243, allocations: 4 kB / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.865e-05/0.007332, allocations: 125.6 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007334, allocations: 0 / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.007359, allocations: 11.98 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.007362, allocations: 0 / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.007368, allocations: 4 kB / 353.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.00737, allocations: 4 kB / 353.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.007372, allocations: 0 / 353.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.873e-05/0.007461, allocations: 116.2 kB / 354 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.007479, allocations: 19.88 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.007496, allocations: 4 kB / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.791e-05/0.007524, allocations: 0 / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.007553, allocations: 3.984 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.007566, allocations: 11.94 kB / 354.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.007626, allocations: 180.4 kB / 354.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007626, allocations: 4 kB / 354.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.007776, allocations: 15.94 kB / 354.2 MB, free: 2.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007537/0.00853, allocations: 395 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.008614, allocations: 43.61 kB / 354.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008615, allocations: 0 / 354.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.008641, allocations: 23.67 kB / 354.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.008831, allocations: 25.09 kB / 354.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.009133, allocations: 221.8 kB / 354.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.009162, allocations: 79.27 kB / 355 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.009192, allocations: 8.75 kB / 355 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.009249, allocations: 90.19 kB / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.00925, allocations: 4 kB / 355.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of Templates: time 0.003395/0.01264, allocations: 1.778 MB / 356.9 MB, free: 140 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.2983839218504727]