Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.0009533/0.0009533, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.002026/0.002026, allocations: 164.8 kB / 24.99 MB, free: 8.793 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.997/0.997, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6593/0.6593, allocations: 88.07 MB / 349.9 MB, free: 14.27 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 451.5 MB, free: 33.46 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.091e-05, allocations: 2.312 kB / 451.5 MB, free: 33.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00198/0.002001, allocations: 1.608 MB / 453.1 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.003176, allocations: 1.018 MB / 454.2 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.003261, allocations: 0 / 454.2 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.003562, allocations: 62.36 kB / 454.2 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.003919, allocations: 157 kB / 454.4 MB, free: 31.65 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.004024, allocations: 77.12 kB / 454.5 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.004182, allocations: 139.6 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.004219, allocations: 2.938 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.004381, allocations: 91.59 kB / 454.7 MB, free: 31.52 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.004479, allocations: 57.94 kB / 454.7 MB, free: 31.5 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.004496, allocations: 2.781 kB / 454.7 MB, free: 31.5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.004555, allocations: 37.28 kB / 454.8 MB, free: 31.49 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.004646, allocations: 78.69 kB / 454.9 MB, free: 31.46 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.004687, allocations: 34.7 kB / 454.9 MB, free: 31.44 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.004853, allocations: 130.8 kB / 455 MB, free: 31.39 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004855, allocations: 0 / 455 MB, free: 31.39 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004856, allocations: 0 / 455 MB, free: 31.39 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.004861, allocations: 0 / 455 MB, free: 31.39 MB / 410.8 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.0004653/0.005326, allocations: 0.5192 MB / 455.5 MB, free: 30.91 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.005364, allocations: 11.5 kB / 455.5 MB, free: 30.91 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.005418, allocations: 24.92 kB / 455.6 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.005676, allocations: 261.9 kB / 455.8 MB, free: 30.69 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.005693, allocations: 7.188 kB / 455.8 MB, free: 30.69 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.005703, allocations: 7.609 kB / 455.8 MB, free: 30.68 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.005816, allocations: 56.45 kB / 455.9 MB, free: 30.64 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005823, allocations: 3.938 kB / 455.9 MB, free: 30.63 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.005831, allocations: 0 / 455.9 MB, free: 30.63 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.005839, allocations: 0 / 455.9 MB, free: 30.63 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.005869, allocations: 13.14 kB / 455.9 MB, free: 30.63 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.006018, allocations: 170.7 kB / 456.1 MB, free: 30.47 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/0.006112, allocations: 58.83 kB / 456.1 MB, free: 30.42 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.006139, allocations: 17.47 kB / 456.2 MB, free: 30.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.00615, allocations: 4 kB / 456.2 MB, free: 30.4 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.722e-05/0.006237, allocations: 66.25 kB / 456.2 MB, free: 30.34 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.006238, allocations: 0 / 456.2 MB, free: 30.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001795/0.006418, allocations: 104.7 kB / 456.3 MB, free: 30.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.006442, allocations: 51.41 kB / 456.4 MB, free: 30.22 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.0066, allocations: 324 kB / 456.7 MB, free: 30.01 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.00661, allocations: 29.7 kB / 456.7 MB, free: 29.97 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.006664, allocations: 191.4 kB / 456.9 MB, free: 29.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.006688, allocations: 14.72 kB / 456.9 MB, free: 29.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.006715, allocations: 28.27 kB / 456.9 MB, free: 29.76 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.00677, allocations: 0.5107 MB / 457.5 MB, free: 29.25 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.006789, allocations: 9.875 kB / 457.5 MB, free: 29.25 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.006813, allocations: 24.31 kB / 457.5 MB, free: 29.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.006855, allocations: 41.69 kB / 457.5 MB, free: 29.19 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006857, allocations: 3.188 kB / 457.5 MB, free: 29.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.301e-05/0.00694, allocations: 80.39 kB / 457.6 MB, free: 29.14 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006953, allocations: 5.75 kB / 457.6 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006958, allocations: 3.938 kB / 457.6 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006969, allocations: 0 / 457.6 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.007029, allocations: 16.69 kB / 457.6 MB, free: 29.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.007035, allocations: 6.141 kB / 457.6 MB, free: 29.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.007066, allocations: 6.781 kB / 457.7 MB, free: 29.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.007071, allocations: 0 / 457.7 MB, free: 29.12 MB / 410.8 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 4.873e-05/0.00712, allocations: 162.3 kB / 457.8 MB, free: 28.96 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.007136, allocations: 20.86 kB / 457.8 MB, free: 28.95 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.007243, allocations: 95.38 kB / 457.9 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007245, allocations: 3.234 kB / 457.9 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.007249, allocations: 2.969 kB / 457.9 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007251, allocations: 3.938 kB / 457.9 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.837e-05/0.00734, allocations: 185.3 kB / 458.1 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007341, allocations: 3.25 kB / 458.1 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.007357, allocations: 6.297 kB / 458.1 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007359, allocations: 0 / 458.1 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.007366, allocations: 10.94 kB / 458.1 MB, free: 28.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007367, allocations: 3.938 kB / 458.1 MB, free: 28.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007368, allocations: 0 / 458.1 MB, free: 28.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.102e-05/0.007449, allocations: 126.5 kB / 458.3 MB, free: 28.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.007478, allocations: 27.55 kB / 458.3 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.007494, allocations: 0 / 458.3 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.007517, allocations: 10.81 kB / 458.3 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.007546, allocations: 6.125 kB / 458.3 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.007556, allocations: 2.906 kB / 458.3 MB, free: 28.58 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.51e-05/0.007641, allocations: 226.3 kB / 458.5 MB, free: 28.43 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007641, allocations: 3.938 kB / 458.5 MB, free: 28.43 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001401/0.007781, allocations: 17.22 kB / 458.6 MB, free: 28.43 MB / 410.8 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.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.0007691/0.00855, allocations: 380.4 kB / 458.9 MB, free: 28.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.113e-05/0.008641, allocations: 39.09 kB / 459 MB, free: 28.23 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008643, allocations: 0 / 459 MB, free: 28.23 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.008671, allocations: 30.58 kB / 459 MB, free: 28.21 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.008872, allocations: 33.08 kB / 459 MB, free: 28.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.009216, allocations: 317.5 kB / 459.3 MB, free: 27.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.584e-05/0.009252, allocations: 85.81 kB / 459.4 MB, free: 27.89 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.009308, allocations: 32.73 kB / 459.4 MB, free: 27.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.009345, allocations: 25.17 kB / 459.5 MB, free: 27.88 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.009346, allocations: 4 kB / 459.5 MB, free: 27.88 MB / 410.8 MB Notification: Performance of Templates: time 0.003486/0.01283, allocations: 1.871 MB / 461.3 MB, free: 27.58 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8126290619838983]