Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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.001371/0.001371, allocations: 76.41 kB / 21.42 MB, free: 3.074 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.001701/0.001701, allocations: 174.5 kB / 24.83 MB, free: 9.27 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.9621/0.9621, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.6935/0.6935, allocations: 88.07 MB / 349.9 MB, free: 14.14 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_20,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.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,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.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 452.1 MB, free: 33.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.293e-05, allocations: 3.703 kB / 452.1 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.0023/0.002333, allocations: 1.27 MB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.002575, allocations: 41.34 kB / 453.4 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.002621, allocations: 0 / 453.4 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.00272, allocations: 3.938 kB / 453.4 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.002807, allocations: 17.73 kB / 453.4 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.003017, allocations: 19.75 kB / 453.5 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.003393, allocations: 452.1 kB / 453.9 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.003442, allocations: 2.844 kB / 453.9 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.003644, allocations: 207.6 kB / 454.1 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.003866, allocations: 134.3 kB / 454.2 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.003925, allocations: 23 kB / 454.3 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.003973, allocations: 22.97 kB / 454.3 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.004106, allocations: 130 kB / 454.4 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.004237, allocations: 122.8 kB / 454.5 MB, free: 31.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.004477, allocations: 230.3 kB / 454.8 MB, free: 31.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.004481, allocations: 3.938 kB / 454.8 MB, free: 31.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.522e-06/0.004483, allocations: 0 / 454.8 MB, free: 31.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.004488, allocations: 0 / 454.8 MB, free: 31.87 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001013/0.005501, allocations: 0.7136 MB / 455.5 MB, free: 31.39 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.005562, allocations: 10.19 kB / 455.5 MB, free: 31.39 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.005657, allocations: 48.92 kB / 455.5 MB, free: 31.37 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.005854, allocations: 163 kB / 455.7 MB, free: 31.22 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.00588, allocations: 28.81 kB / 455.7 MB, free: 31.21 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.005955, allocations: 64.28 kB / 455.8 MB, free: 31.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.006247, allocations: 189 kB / 456 MB, free: 31.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.00627, allocations: 10.08 kB / 456 MB, free: 31.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.006296, allocations: 11.25 kB / 456 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.006308, allocations: 10.05 kB / 456 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.006482, allocations: 108.9 kB / 456.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.006851, allocations: 259 kB / 456.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.007615, allocations: 325 kB / 456.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.007843, allocations: 98.06 kB / 456.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.007874, allocations: 9.094 kB / 456.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.007901, allocations: 47.16 kB / 456.8 MB, free: 30.71 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 2.345e-06/0.007904, allocations: 4 kB / 456.8 MB, free: 30.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001686/0.00959, allocations: 0.791 MB / 457.6 MB, free: 30.55 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.009619, allocations: 61.91 kB / 457.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.009689, allocations: 173.6 kB / 457.8 MB, free: 30.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.009725, allocations: 40.52 kB / 457.9 MB, free: 30.26 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.009758, allocations: 142.3 kB / 458 MB, free: 30.12 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.009891, allocations: 268.6 kB / 458.3 MB, free: 29.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.01004, allocations: 163.1 kB / 458.4 MB, free: 29.81 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.01012, allocations: 0.5337 MB / 459 MB, free: 29.29 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.01022, allocations: 89.8 kB / 459.1 MB, free: 29.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.01043, allocations: 333.9 kB / 459.4 MB, free: 29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.01081, allocations: 456.6 kB / 459.8 MB, free: 28.65 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.01082, allocations: 0 / 459.8 MB, free: 28.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008482/0.01167, allocations: 0.6427 MB / 460.5 MB, free: 28.45 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.0117, allocations: 11.53 kB / 460.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.01171, allocations: 9.812 kB / 460.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.01233, allocations: 242.1 kB / 460.7 MB, free: 28.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.0126, allocations: 159.3 kB / 460.9 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.01436, allocations: 2.528 MB / 463.4 MB, free: 26.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.0145, allocations: 57.72 kB / 463.5 MB, free: 26.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.01452, allocations: 19.78 kB / 463.5 MB, free: 26.36 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.01462, allocations: 199.5 kB / 463.7 MB, free: 26.16 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.01466, allocations: 42.73 kB / 463.7 MB, free: 26.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.01472, allocations: 57.97 kB / 463.8 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.01472, allocations: 12.22 kB / 463.8 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/0.01475, allocations: 10.62 kB / 463.8 MB, free: 26.08 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.01475, allocations: 3.469 kB / 463.8 MB, free: 26.08 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.01497, allocations: 243.1 kB / 464.1 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.01498, allocations: 192 / 464.1 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.01539, allocations: 131.9 kB / 464.2 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.01593, allocations: 239 kB / 464.4 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.01597, allocations: 30.06 kB / 464.4 MB, free: 25.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.01748, allocations: 2.516 MB / 467 MB, free: 23.84 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01748, allocations: 2.906 kB / 467 MB, free: 23.84 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008168/0.01829, allocations: 0.7652 MB / 467.7 MB, free: 23.58 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01831, allocations: 31.8 kB / 467.8 MB, free: 23.55 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.01835, allocations: 30.33 kB / 467.8 MB, free: 23.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.01844, allocations: 8 kB / 467.8 MB, free: 23.54 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.0185, allocations: 56.33 kB / 467.9 MB, free: 23.52 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01851, allocations: 5.625 kB / 467.9 MB, free: 23.52 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.01854, allocations: 129.2 kB / 468 MB, free: 23.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01854, allocations: 4 kB / 468 MB, free: 23.4 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002947/0.01883, allocations: 141.4 kB / 468.1 MB, free: 23.38 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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]) * 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 (41): * Single equations (assignments): 40 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.01899, allocations: 131.6 kB / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.01982, allocations: 0.6749 MB / 468.9 MB, free: 22.98 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.01983, allocations: 0 / 468.9 MB, free: 22.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.02034, allocations: 0.5022 MB / 469.4 MB, free: 22.74 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.02055, allocations: 34.05 kB / 469.5 MB, free: 22.71 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.02218, allocations: 1.94 MB / 471.4 MB, free: 21.31 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.777e-05/0.02226, allocations: 139.4 kB / 471.5 MB, free: 21.23 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.02233, allocations: 25.86 kB / 471.6 MB, free: 21.22 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.02241, allocations: 106.4 kB / 471.7 MB, free: 21.16 MB / 410.8 MB Notification: Performance of SimCode: time 1.092e-06/0.02241, allocations: 0 / 471.7 MB, free: 21.16 MB / 410.8 MB Notification: Performance of Templates: time 0.006786/0.0292, allocations: 5.563 MB / 477.2 MB, free: 20.7 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_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.70523141277954]