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.001009/0.001009, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001749/0.001749, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9117/0.9117, allocations: 177.2 MB / 205 MB, free: 5.613 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.6862/0.6862, allocations: 88.08 MB / 349.6 MB, free: 14.21 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.964e-06/1.964e-06, allocations: 0 / 451.6 MB, free: 33.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.438e-05, allocations: 2.312 kB / 451.6 MB, free: 33.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002722/0.002756, allocations: 1.612 MB / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.004011, allocations: 1.018 MB / 454.2 MB, free: 31.71 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.004098, allocations: 2.406 kB / 454.2 MB, free: 31.71 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.00443, allocations: 62.25 kB / 454.2 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.004909, allocations: 157.3 kB / 454.4 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.005115, allocations: 80.58 kB / 454.5 MB, free: 31.57 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.005339, allocations: 140.1 kB / 454.6 MB, free: 31.51 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.005392, allocations: 3 kB / 454.6 MB, free: 31.51 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.005822, allocations: 188.2 kB / 454.8 MB, free: 31.46 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.005888, allocations: 49.14 kB / 454.9 MB, free: 31.45 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.005907, allocations: 2.625 kB / 454.9 MB, free: 31.45 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.005986, allocations: 36.2 kB / 454.9 MB, free: 31.44 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.006071, allocations: 74.86 kB / 455 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.006116, allocations: 26.16 kB / 455 MB, free: 31.4 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.006325, allocations: 137.7 kB / 455.1 MB, free: 31.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.006329, allocations: 0 / 455.1 MB, free: 31.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.006331, allocations: 0 / 455.1 MB, free: 31.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.006337, allocations: 0 / 455.1 MB, free: 31.34 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.0004622/0.006799, allocations: 0.5198 MB / 455.6 MB, free: 30.86 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.00684, allocations: 11.34 kB / 455.7 MB, free: 30.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.006898, allocations: 21.52 kB / 455.7 MB, free: 30.85 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.007123, allocations: 219.6 kB / 455.9 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.007145, allocations: 10.44 kB / 455.9 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.007156, allocations: 7 kB / 455.9 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.007293, allocations: 57.89 kB / 456 MB, free: 30.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.007301, allocations: 3.938 kB / 456 MB, free: 30.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.007311, allocations: 0 / 456 MB, free: 30.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.007318, allocations: 0 / 456 MB, free: 30.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.00735, allocations: 8.641 kB / 456 MB, free: 30.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.007514, allocations: 175.8 kB / 456.1 MB, free: 30.44 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.007619, allocations: 50.72 kB / 456.2 MB, free: 30.4 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.007647, allocations: 21.41 kB / 456.2 MB, free: 30.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.007661, allocations: 0 / 456.2 MB, free: 30.38 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.906e-05/0.00776, allocations: 63.38 kB / 456.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.007761, allocations: 2.844 kB / 456.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002024/0.007964, allocations: 101.2 kB / 456.4 MB, free: 30.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.007992, allocations: 55.34 kB / 456.4 MB, free: 30.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.008158, allocations: 321 kB / 456.7 MB, free: 29.98 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.008167, allocations: 25.7 kB / 456.8 MB, free: 29.95 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.008225, allocations: 191.9 kB / 457 MB, free: 29.78 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.008259, allocations: 26 kB / 457 MB, free: 29.76 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.008292, allocations: 33.14 kB / 457 MB, free: 29.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.008358, allocations: 0.5071 MB / 457.5 MB, free: 29.22 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.008378, allocations: 13.19 kB / 457.5 MB, free: 29.22 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.008407, allocations: 28.22 kB / 457.6 MB, free: 29.19 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.008455, allocations: 33.98 kB / 457.6 MB, free: 29.16 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008457, allocations: 0 / 457.6 MB, free: 29.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.723e-05/0.008554, allocations: 84.31 kB / 457.7 MB, free: 29.11 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.00857, allocations: 5.875 kB / 457.7 MB, free: 29.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.008575, allocations: 3.938 kB / 457.7 MB, free: 29.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.00859, allocations: 11.11 kB / 457.7 MB, free: 29.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.008672, allocations: 9.078 kB / 457.7 MB, free: 29.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.00868, allocations: 6.812 kB / 457.7 MB, free: 29.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.008723, allocations: 6.906 kB / 457.7 MB, free: 29.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.008729, allocations: 0 / 457.7 MB, free: 29.09 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 7.959e-05/0.008809, allocations: 162.8 kB / 457.9 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.008833, allocations: 27.42 kB / 457.9 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.008987, allocations: 95.27 kB / 458 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00899, allocations: 0 / 458 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.008995, allocations: 0 / 458 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.008999, allocations: 4 kB / 458 MB, free: 28.85 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.009118, allocations: 183.4 kB / 458.2 MB, free: 28.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.009121, allocations: 0 / 458.2 MB, free: 28.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.009152, allocations: 9.688 kB / 458.2 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.009156, allocations: 0 / 458.2 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.009165, allocations: 4.125 kB / 458.2 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009168, allocations: 6.812 kB / 458.2 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009169, allocations: 0 / 458.2 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.009285, allocations: 126.3 kB / 458.3 MB, free: 28.57 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.009325, allocations: 20.78 kB / 458.3 MB, free: 28.56 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.009346, allocations: 10.81 kB / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.009376, allocations: 7.312 kB / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.009411, allocations: 2.781 kB / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.009425, allocations: 2.781 kB / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.535e-05/0.009521, allocations: 218.5 kB / 458.6 MB, free: 28.41 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009521, allocations: 0 / 458.6 MB, free: 28.41 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001554/0.009676, allocations: 32.27 kB / 458.6 MB, free: 28.39 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.0008558/0.01053, allocations: 390.5 kB / 459 MB, free: 28.21 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.01065, allocations: 35.33 kB / 459 MB, free: 28.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01065, allocations: 0 / 459 MB, free: 28.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.01068, allocations: 26.61 kB / 459.1 MB, free: 28.18 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.0109, allocations: 43.78 kB / 459.1 MB, free: 28.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.01131, allocations: 317.7 kB / 459.4 MB, free: 27.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.01135, allocations: 81.41 kB / 459.5 MB, free: 27.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.01141, allocations: 31.81 kB / 459.5 MB, free: 27.86 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01146, allocations: 24.7 kB / 459.5 MB, free: 27.85 MB / 410.8 MB Notification: Performance of SimCode: time 8.01e-07/0.01146, allocations: 4 kB / 459.6 MB, free: 27.85 MB / 410.8 MB Notification: Performance of Templates: time 0.004263/0.01572, allocations: 1.973 MB / 461.5 MB, free: 27.55 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.697689976077527]