Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001459/0.001459, allocations: 80.92 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.001784/0.001784, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9904/0.9904, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 32.81 MB / 294.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.512e-05, allocations: 3.406 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002501/0.002526, allocations: 1.787 MB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003848, allocations: 1.005 MB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.003915, allocations: 3.938 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.004173, allocations: 47.69 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.004404, allocations: 91.55 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.004554, allocations: 75.61 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004697, allocations: 119.5 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.004772, allocations: 5.375 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.00485, allocations: 55.88 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.004916, allocations: 23.86 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.004929, allocations: 4 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.005003, allocations: 47.92 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.005044, allocations: 19.91 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.005074, allocations: 19.94 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.005225, allocations: 107.6 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005226, allocations: 3.938 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005227, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005231, allocations: 0 / 326.8 MB, free: 6.105 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.000334/0.005565, allocations: 321.4 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.005596, allocations: 12.02 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.005621, allocations: 4.938 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.005758, allocations: 155.4 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.005773, allocations: 4.312 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.005789, allocations: 4.375 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.744e-05/0.005887, allocations: 69.75 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005895, allocations: 3.938 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.005901, allocations: 0 / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.005906, allocations: 4 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.005927, allocations: 4 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.006111, allocations: 165.9 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.006191, allocations: 89.3 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.006209, allocations: 8.859 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.006219, allocations: 7.984 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.331e-05/0.006303, allocations: 66.16 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.006304, allocations: 0 / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002586/0.006562, allocations: 121.5 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.006588, allocations: 51.41 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.006686, allocations: 180.8 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.006698, allocations: 25.7 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.006981, allocations: 96.09 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.007006, allocations: 27.73 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.007036, allocations: 29.69 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.007105, allocations: 326.8 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.007121, allocations: 6.828 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.007146, allocations: 33.62 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.007185, allocations: 32.53 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007185, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.751e-05/0.007263, allocations: 76.36 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.007274, allocations: 8 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.007277, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.007286, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.007345, allocations: 24.02 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.007348, allocations: 4 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.007374, allocations: 4.375 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.00738, allocations: 4 kB / 328.7 MB, free: 3.996 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 5.877e-05/0.007439, allocations: 123 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.007453, allocations: 15.91 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.007549, allocations: 79.12 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007551, allocations: 7.938 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.007552, allocations: 0 / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007556, allocations: 0 / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.007753, allocations: 291.4 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007755, allocations: 4 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.007778, allocations: 8 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.007779, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.007787, allocations: 7.984 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.007788, allocations: 4 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007789, allocations: 0 / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/0.007881, allocations: 215 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.007892, allocations: 7.953 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.007908, allocations: 8 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.007946, allocations: 8.016 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.007969, allocations: 7.984 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.00798, allocations: 4 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.008017, allocations: 43.66 kB / 329.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008017, allocations: 0 / 329.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.008166, allocations: 35.86 kB / 329.6 MB, free: 3.074 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.001198/0.009365, allocations: 0.5738 MB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.009442, allocations: 44.77 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.009444, allocations: 0 / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.009474, allocations: 28.78 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.00964, allocations: 31.92 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.009919, allocations: 223.8 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.009953, allocations: 67.34 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.009988, allocations: 21.25 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.01005, allocations: 67.36 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01005, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of Templates: time 0.003246/0.01329, allocations: 2.015 MB / 332.6 MB, free: 288 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.8850674461573362]