Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009584/0.0009584, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001027/0.001027, allocations: 166.5 kB / 24.84 MB, free: 9.266 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.9784/0.9784, allocations: 158.6 MB / 186.7 MB, free: 2.758 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.1562/0.1562, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.362e-05, allocations: 5.406 kB / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002336/0.00236, allocations: 1.691 MB / 350.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003403, allocations: 0.7804 MB / 351.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.003498, allocations: 0 / 351.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.003802, allocations: 39.83 kB / 351.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.004008, allocations: 67.62 kB / 351.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.004221, allocations: 87.7 kB / 351.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.004372, allocations: 95.62 kB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.004412, allocations: 7.984 kB / 351.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.004492, allocations: 43.84 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.004561, allocations: 23.92 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.004577, allocations: 0 / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.004648, allocations: 39.91 kB / 351.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.004696, allocations: 27.86 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.004733, allocations: 15.94 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004878, allocations: 95.66 kB / 352 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00488, allocations: 4 kB / 352 MB, free: 6.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004881, allocations: 0 / 352 MB, free: 6.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004885, allocations: 3.938 kB / 352 MB, free: 6.066 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.000345/0.00523, allocations: 471.7 kB / 352.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005261, allocations: 8.031 kB / 352.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.005303, allocations: 16.84 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.005426, allocations: 152.4 kB / 352.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.00544, allocations: 384 / 352.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.005447, allocations: 4.375 kB / 352.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.299e-05/0.00553, allocations: 54.94 kB / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.005538, allocations: 7.938 kB / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005544, allocations: 0 / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005549, allocations: 0 / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.005571, allocations: 7.984 kB / 352.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.005673, allocations: 129.1 kB / 352.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.005749, allocations: 47.14 kB / 352.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.005768, allocations: 11.69 kB / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.005777, allocations: 0 / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.52e-05/0.005852, allocations: 65.05 kB / 353 MB, free: 4.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.005853, allocations: 4 kB / 353 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001514/0.006004, allocations: 97.45 kB / 353 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.006023, allocations: 51.41 kB / 353.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.006135, allocations: 265.3 kB / 353.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.006144, allocations: 25.7 kB / 353.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.006183, allocations: 162.8 kB / 353.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.006211, allocations: 19.83 kB / 353.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.006242, allocations: 23.38 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.006294, allocations: 0.504 MB / 354.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.006311, allocations: 11.92 kB / 354.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.006333, allocations: 31.36 kB / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.006376, allocations: 39.3 kB / 354.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006377, allocations: 0 / 354.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.407e-05/0.006462, allocations: 69.53 kB / 354.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.006475, allocations: 8 kB / 354.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.00648, allocations: 0 / 354.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.00649, allocations: 3.938 kB / 354.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.006555, allocations: 12 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.006558, allocations: 4 kB / 354.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.006593, allocations: 8.016 kB / 354.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.006598, allocations: 4 kB / 354.3 MB, free: 3.566 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 5.108e-05/0.006649, allocations: 152.6 kB / 354.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.006666, allocations: 19.91 kB / 354.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.006775, allocations: 82.92 kB / 354.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.006777, allocations: 3.938 kB / 354.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.00678, allocations: 0 / 354.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006783, allocations: 0 / 354.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.968e-05/0.006862, allocations: 129.2 kB / 354.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006865, allocations: 384 / 354.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.006887, allocations: 8 kB / 354.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006889, allocations: 4 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006895, allocations: 4 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006896, allocations: 0 / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.006899, allocations: 7.969 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.006983, allocations: 120.2 kB / 354.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.006998, allocations: 11.91 kB / 354.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.007015, allocations: 0 / 354.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.007043, allocations: 3.984 kB / 354.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.007066, allocations: 8 kB / 354.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.007084, allocations: 3.938 kB / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.007173, allocations: 188.4 kB / 355 MB, free: 2.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007173, allocations: 0 / 355 MB, free: 2.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.007381, allocations: 27.92 kB / 355 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.0008513/0.008232, allocations: 387.6 kB / 355.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008335, allocations: 39.59 kB / 355.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.008338, allocations: 4 kB / 355.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.008365, allocations: 15.69 kB / 355.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.008577, allocations: 33.08 kB / 355.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.008873, allocations: 217.8 kB / 355.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.008902, allocations: 79.27 kB / 355.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.008935, allocations: 12.55 kB / 355.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.008992, allocations: 86.19 kB / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008992, allocations: 0 / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of Templates: time 0.003623/0.01261, allocations: 1.801 MB / 357.7 MB, free: 132 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.1774616739712656]