Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.001376/0.001376, allocations: 80.8 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.001031/0.001031, allocations: 172.7 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.9383/0.9383, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.5859/0.5859, allocations: 88.09 MB / 349.9 MB, free: 14.12 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.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 398.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.264e-05, allocations: 3.734 kB / 398.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002456/0.002478, allocations: 1.297 MB / 400.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002264/0.002705, allocations: 40 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.002742, allocations: 3.938 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.002832, allocations: 3.984 kB / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.002908, allocations: 11.94 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.003096, allocations: 27.94 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.003258, allocations: 107.8 kB / 400.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.003302, allocations: 7.984 kB / 400.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.00338, allocations: 43.91 kB / 400.4 MB, free: 12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.003469, allocations: 31.94 kB / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.003493, allocations: 4 kB / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.003513, allocations: 4 kB / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.003564, allocations: 31.89 kB / 400.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.003602, allocations: 27.92 kB / 400.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.003698, allocations: 51.86 kB / 400.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.0037, allocations: 0 / 400.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003701, allocations: 0 / 400.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003705, allocations: 0 / 400.5 MB, free: 11.85 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004657/0.004171, allocations: 293.4 kB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.004217, allocations: 12.02 kB / 400.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.004268, allocations: 12.94 kB / 400.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.004423, allocations: 113.7 kB / 400.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.004437, allocations: 4.375 kB / 400.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.004474, allocations: 12.38 kB / 401 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.004604, allocations: 64.44 kB / 401 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.004621, allocations: 8.141 kB / 401 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.004634, allocations: 4.375 kB / 401 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.00464, allocations: 4.375 kB / 401 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.004688, allocations: 19.92 kB / 401.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.004849, allocations: 91.86 kB / 401.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.005093, allocations: 86.58 kB / 401.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.005128, allocations: 16.86 kB / 401.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.005139, allocations: 4 kB / 401.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.005165, allocations: 42.48 kB / 401.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.005166, allocations: 0 / 401.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004319/0.005598, allocations: 141.2 kB / 401.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.005628, allocations: 55.41 kB / 401.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.005676, allocations: 106.7 kB / 401.6 MB, free: 10.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.005689, allocations: 25.7 kB / 401.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.005712, allocations: 84.14 kB / 401.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.005756, allocations: 51.58 kB / 401.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.005796, allocations: 37.91 kB / 401.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.00587, allocations: 314.8 kB / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.005894, allocations: 23.92 kB / 402.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.005936, allocations: 59.14 kB / 402.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.006018, allocations: 84.98 kB / 402.3 MB, free: 9.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.00602, allocations: 0 / 402.3 MB, free: 9.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001825/0.006203, allocations: 141.2 kB / 402.4 MB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006216, allocations: 4 kB / 402.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006221, allocations: 0 / 402.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.006411, allocations: 51.62 kB / 402.4 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.006521, allocations: 44.02 kB / 402.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008559/0.007377, allocations: 1.277 MB / 403.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.007413, allocations: 11.95 kB / 403.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.00742, allocations: 0 / 403.8 MB, free: 8.301 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.007491, allocations: 128.6 kB / 403.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.007502, allocations: 8 kB / 403.9 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.007528, allocations: 24.05 kB / 403.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.00753, allocations: 0 / 403.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.007533, allocations: 3.938 kB / 403.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007537, allocations: 0 / 403.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.007622, allocations: 93.89 kB / 404 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007624, allocations: 0 / 404 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.007744, allocations: 36.97 kB / 404.1 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.007874, allocations: 51.58 kB / 404.1 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.007888, allocations: 7.984 kB / 404.1 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007208/0.008609, allocations: 1.283 MB / 405.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00861, allocations: 0 / 405.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.008809, allocations: 181.5 kB / 405.6 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.008816, allocations: 15.95 kB / 405.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.008827, allocations: 3.984 kB / 405.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.008847, allocations: 4 kB / 405.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.008871, allocations: 15.92 kB / 405.6 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.008877, allocations: 7.938 kB / 405.6 MB, free: 6.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.103e-05/0.008888, allocations: 8.859 kB / 405.6 MB, free: 6.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.008888, allocations: 0 / 405.6 MB, free: 6.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.009023, allocations: 28 kB / 405.7 MB, free: 6.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.083e-05/0.009104, allocations: 88.41 kB / 405.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.009381, allocations: 203.3 kB / 406 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.009384, allocations: 0 / 406 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.009506, allocations: 163.4 kB / 406.1 MB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.717e-05/0.009593, allocations: 8 kB / 406.1 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.009999, allocations: 332.4 kB / 406.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.01004, allocations: 71.33 kB / 406.5 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.122e-05/0.01006, allocations: 4.484 kB / 406.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.0101, allocations: 63.31 kB / 406.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0101, allocations: 0 / 406.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of Templates: time 0.002873/0.01297, allocations: 1.524 MB / 408.1 MB, free: 3.793 MB / 378.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_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: 2.985703283920884]