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.0009765/0.0009765, allocations: 76.41 kB / 21.69 MB, free: 2.855 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.001698/0.001698, allocations: 163 kB / 24.99 MB, free: 8.758 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.9613/0.9613, allocations: 177.1 MB / 205.3 MB, free: 5.578 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.6718/0.6718, allocations: 88.07 MB / 349.9 MB, free: 14.28 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 2.394e-06/2.394e-06, allocations: 0 / 451.5 MB, free: 33.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.197e-05, allocations: 2.312 kB / 451.5 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002634/0.002666, allocations: 1.254 MB / 452.8 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.002886, allocations: 37.97 kB / 452.8 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.002935, allocations: 2.938 kB / 452.8 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.00304, allocations: 3.328 kB / 452.8 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.003116, allocations: 22.8 kB / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.00333, allocations: 19.97 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.003498, allocations: 110.5 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.003549, allocations: 2.625 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.003643, allocations: 48.39 kB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.003744, allocations: 31.28 kB / 453.1 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.003775, allocations: 5.594 kB / 453.1 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.003791, allocations: 2.875 kB / 453.1 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.003847, allocations: 32.61 kB / 453.1 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.003897, allocations: 24.86 kB / 453.1 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.004, allocations: 50.5 kB / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004002, allocations: 0 / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004004, allocations: 0 / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004008, allocations: 2.812 kB / 453.2 MB, free: 32.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005164/0.004525, allocations: 431.5 kB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.004567, allocations: 8.75 kB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.004625, allocations: 12.36 kB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.004762, allocations: 132.3 kB / 453.7 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004776, allocations: 3.344 kB / 453.7 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.004809, allocations: 10.22 kB / 453.8 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.00495, allocations: 68.22 kB / 453.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.004964, allocations: 192 / 453.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.004977, allocations: 384 / 453.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.004987, allocations: 3.156 kB / 453.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/0.00506, allocations: 37.84 kB / 453.9 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.005277, allocations: 135.1 kB / 454 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.00565, allocations: 117.9 kB / 454.1 MB, free: 31.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/0.005716, allocations: 28.75 kB / 454.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.005733, allocations: 2.938 kB / 454.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.005762, allocations: 33.39 kB / 454.2 MB, free: 31.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 2.554e-06/0.005764, allocations: 0 / 454.2 MB, free: 31.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0006684/0.006433, allocations: 173.6 kB / 454.3 MB, free: 31.41 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.006459, allocations: 54.66 kB / 454.4 MB, free: 31.35 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.006525, allocations: 166.8 kB / 454.6 MB, free: 31.18 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.006537, allocations: 29.7 kB / 454.6 MB, free: 31.14 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.006562, allocations: 129.8 kB / 454.7 MB, free: 31.01 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.006618, allocations: 60.66 kB / 454.8 MB, free: 30.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.006681, allocations: 45 kB / 454.8 MB, free: 30.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.175e-05/0.006753, allocations: 0.4901 MB / 455.3 MB, free: 30.43 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.006809, allocations: 25.94 kB / 455.3 MB, free: 30.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.006895, allocations: 83.14 kB / 455.4 MB, free: 30.35 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.007044, allocations: 106.8 kB / 455.5 MB, free: 30.27 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.007047, allocations: 2.562 kB / 455.5 MB, free: 30.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000359/0.007406, allocations: 174.1 kB / 455.7 MB, free: 30.18 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.007429, allocations: 12.16 kB / 455.7 MB, free: 30.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.007437, allocations: 2.875 kB / 455.7 MB, free: 30.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.007772, allocations: 54.45 kB / 455.8 MB, free: 30.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.007893, allocations: 35.36 kB / 455.8 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.008999, allocations: 1.828 MB / 457.6 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.00906, allocations: 13.27 kB / 457.6 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.009073, allocations: 9.531 kB / 457.6 MB, free: 28.35 MB / 410.8 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.51e-05/0.009148, allocations: 163.2 kB / 457.8 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.009172, allocations: 21.36 kB / 457.8 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.009202, allocations: 16.12 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009205, allocations: 3.328 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.009212, allocations: 2.812 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009215, allocations: 0 / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.009326, allocations: 130.9 kB / 458 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.00933, allocations: 3.328 kB / 458 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.009482, allocations: 26.72 kB / 458 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/0.009709, allocations: 55.84 kB / 458.1 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.009731, allocations: 2.906 kB / 458.1 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/0.01065, allocations: 1.842 MB / 459.9 MB, free: 26.18 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01066, allocations: 0 / 459.9 MB, free: 26.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.011, allocations: 205.6 kB / 460.1 MB, free: 26.06 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.01102, allocations: 14.17 kB / 460.1 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01104, allocations: 6.812 kB / 460.1 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.01108, allocations: 3.984 kB / 460.1 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.01111, allocations: 16.19 kB / 460.1 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01112, allocations: 6.781 kB / 460.2 MB, free: 26.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.363e-05/0.01114, allocations: 119.2 kB / 460.3 MB, free: 25.92 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01114, allocations: 2.812 kB / 460.3 MB, free: 25.92 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002543/0.0114, allocations: 27.09 kB / 460.3 MB, free: 25.91 MB / 410.8 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 0.000122/0.01152, allocations: 106 kB / 460.4 MB, free: 25.82 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.012, allocations: 276.3 kB / 460.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.012, allocations: 256 / 460.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.0122, allocations: 237.1 kB / 460.9 MB, free: 25.42 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01242, allocations: 9.844 kB / 460.9 MB, free: 25.42 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.01317, allocations: 487.7 kB / 461.4 MB, free: 25.04 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.01322, allocations: 72.55 kB / 461.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.01327, allocations: 21.98 kB / 461.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.01331, allocations: 11.5 kB / 461.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of SimCode: time 1.122e-06/0.01331, allocations: 3 kB / 461.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of Templates: time 0.004133/0.01744, allocations: 1.4 MB / 462.9 MB, free: 24.85 MB / 410.8 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 -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: 3.710760122165084]