Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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.001184/0.001184, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001104/0.001104, allocations: 170.2 kB / 24.91 MB, free: 9.207 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.9208/0.9208, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.5609/0.5609, allocations: 88.08 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.ScaledExperiments.HarmonicOscillatorNetwork_N_40,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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 398.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.146e-05, allocations: 3.859 kB / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001622/0.001643, allocations: 1.277 MB / 400.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000173/0.001816, allocations: 39.86 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.001849, allocations: 4 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.607e-05/0.001925, allocations: 0 / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.001987, allocations: 15.86 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.002143, allocations: 31.94 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.002637, allocations: 0.8465 MB / 401.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.002673, allocations: 4 kB / 401.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.002988, allocations: 395.6 kB / 401.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.00334, allocations: 261.4 kB / 401.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.003414, allocations: 48 kB / 401.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.003462, allocations: 44 kB / 401.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.003614, allocations: 259.5 kB / 402.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.003784, allocations: 235.5 kB / 402.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.004072, allocations: 458.4 kB / 402.7 MB, free: 9.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004074, allocations: 4 kB / 402.7 MB, free: 9.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004075, allocations: 4 kB / 402.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.004084, allocations: 0 / 402.7 MB, free: 9.621 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001303/0.005387, allocations: 0.9582 MB / 403.7 MB, free: 8.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.005417, allocations: 11.97 kB / 403.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.00552, allocations: 84.86 kB / 403.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.005748, allocations: 209.2 kB / 404 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.005779, allocations: 57.38 kB / 404.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.005888, allocations: 108.2 kB / 404.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.006239, allocations: 370.7 kB / 404.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.006262, allocations: 16.03 kB / 404.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.006297, allocations: 16.38 kB / 404.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.006307, allocations: 16.38 kB / 404.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.006523, allocations: 182.8 kB / 404.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.006998, allocations: 420.2 kB / 405.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.007608, allocations: 0.5453 MB / 405.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.007813, allocations: 167.8 kB / 405.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.007861, allocations: 21 kB / 405.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.007902, allocations: 47.5 kB / 405.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 2.254e-06/0.007904, allocations: 0 / 405.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.004219/0.01212, allocations: 1.896 MB / 407.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.01216, allocations: 68.41 kB / 407.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.01223, allocations: 130.6 kB / 408 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.01229, allocations: 57.7 kB / 408.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.01232, allocations: 94.66 kB / 408.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.01257, allocations: 0.5073 MB / 408.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.01277, allocations: 267.4 kB / 408.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.01284, allocations: 314 kB / 409.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.01303, allocations: 147.9 kB / 409.4 MB, free: 2.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.01335, allocations: 495.9 kB / 409.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.01401, allocations: 0.7428 MB / 410.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.01402, allocations: 4 kB / 410.6 MB, free: 1.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001406/0.01543, allocations: 1.045 MB / 411.7 MB, free: 292 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.01545, allocations: 8 kB / 411.7 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.01547, allocations: 15.94 kB / 411.7 MB, free: 268 kB / 378.7 MB Notification: Tearing is skipped for linear strong component 1: substituting through its 39 inner equations amplifies an error by 1e19, which double precision cannot carry. Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.0166, allocations: 471 kB / 412.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.01716, allocations: 327.6 kB / 412.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.01717, allocations: 19.94 kB / 412.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.01743, allocations: 115.2 kB / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.01747, allocations: 48 kB / 412.7 MB, free: 15.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(40,7.4%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.01763, allocations: 192.3 kB / 412.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.01771, allocations: 63.95 kB / 412.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.01781, allocations: 120 kB / 413 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.01782, allocations: 12 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.01784, allocations: 8 kB / 413 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.01785, allocations: 3.984 kB / 413 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.01828, allocations: 406.2 kB / 413.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01828, allocations: 0 / 413.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.01905, allocations: 267.8 kB / 413.7 MB, free: 14.22 MB / 394.7 MB Notification: Tearing is skipped for linear strong component 2: substituting through its 39 inner equations amplifies an error by 1e19, which double precision cannot carry. Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.02006, allocations: 459 kB / 414.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/0.02014, allocations: 47.94 kB / 414.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.02015, allocations: 8 kB / 414.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.02015, allocations: 3.938 kB / 414.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.02168, allocations: 1.431 MB / 415.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.02172, allocations: 55.52 kB / 415.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.0218, allocations: 43.95 kB / 415.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.02195, allocations: 20 kB / 415.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.02207, allocations: 108.8 kB / 415.9 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.0221, allocations: 23.98 kB / 415.9 MB, free: 12.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.02211, allocations: 12.84 kB / 415.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02211, allocations: 0 / 415.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.02246, allocations: 220 kB / 416.1 MB, free: 11.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * 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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(40,7.4%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/0.02262, allocations: 150.9 kB / 416.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.02355, allocations: 0.7924 MB / 417.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.02355, allocations: 1.938 kB / 417.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.02409, allocations: 487.6 kB / 417.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.02426, allocations: 48.58 kB / 417.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.0259, allocations: 2.156 MB / 419.7 MB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.02601, allocations: 184.8 kB / 419.9 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.02612, allocations: 61.73 kB / 420 MB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.02626, allocations: 127.3 kB / 420.1 MB, free: 7.711 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02626, allocations: 0 / 420.1 MB, free: 7.711 MB / 394.7 MB Notification: Performance of Templates: time 0.01009/0.03635, allocations: 8.097 MB / 428.2 MB, free: 15.73 MB / 410.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_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.3509267098270357]