Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.0009538/0.0009538, allocations: 78.66 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.001093/0.001093, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9329/0.9329, 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.5769/0.5769, allocations: 88.08 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_10,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_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,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_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 452.1 MB, free: 33.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.268e-05, allocations: 2.312 kB / 452.1 MB, free: 33.01 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001597/0.00162, allocations: 1.259 MB / 453.4 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.001791, allocations: 43.14 kB / 453.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.001826, allocations: 2.969 kB / 453.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.797e-05/0.001904, allocations: 7.125 kB / 453.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.284e-05/0.001977, allocations: 14.62 kB / 453.4 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.002154, allocations: 27.03 kB / 453.5 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.002319, allocations: 228 kB / 453.7 MB, free: 32.05 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.002357, allocations: 6.219 kB / 453.7 MB, free: 32.05 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.00245, allocations: 107 kB / 453.8 MB, free: 32.02 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.00255, allocations: 72.19 kB / 453.9 MB, free: 32 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.002579, allocations: 14.84 kB / 453.9 MB, free: 32 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-05/0.002601, allocations: 11.19 kB / 453.9 MB, free: 32 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.002655, allocations: 68.77 kB / 454 MB, free: 31.97 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.002702, allocations: 56.16 kB / 454 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.002805, allocations: 116.9 kB / 454.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002807, allocations: 0 / 454.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002808, allocations: 2.719 kB / 454.1 MB, free: 31.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002811, allocations: 0 / 454.1 MB, free: 31.93 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004814/0.003293, allocations: 0.5193 MB / 454.7 MB, free: 31.51 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.003327, allocations: 12.66 kB / 454.7 MB, free: 31.51 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.003369, allocations: 27.81 kB / 454.7 MB, free: 31.5 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.003475, allocations: 133.8 kB / 454.8 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.003488, allocations: 20.5 kB / 454.8 MB, free: 31.35 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.003523, allocations: 28.7 kB / 454.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003642, allocations: 109.1 kB / 455 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.003653, allocations: 6.859 kB / 455 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.003665, allocations: 7.188 kB / 455 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.00367, allocations: 3.219 kB / 455 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.003735, allocations: 59.19 kB / 455.1 MB, free: 31.27 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.003914, allocations: 183.7 kB / 455.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.004185, allocations: 181.3 kB / 455.4 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.00424, allocations: 57.28 kB / 455.5 MB, free: 31.02 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.004255, allocations: 9.75 kB / 455.5 MB, free: 31.02 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.004273, allocations: 40.91 kB / 455.5 MB, free: 30.97 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.004275, allocations: 0 / 455.5 MB, free: 30.97 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.0006952/0.00497, allocations: 372.3 kB / 455.9 MB, free: 30.87 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.004989, allocations: 57.38 kB / 455.9 MB, free: 30.8 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.00503, allocations: 166.8 kB / 456.1 MB, free: 30.63 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.005049, allocations: 36.61 kB / 456.1 MB, free: 30.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.005071, allocations: 130.4 kB / 456.3 MB, free: 30.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.005132, allocations: 134.8 kB / 456.4 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.005195, allocations: 92.12 kB / 456.5 MB, free: 30.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.005249, allocations: 0.5106 MB / 457 MB, free: 29.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.005296, allocations: 42.16 kB / 457 MB, free: 29.79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.00538, allocations: 170.2 kB / 457.2 MB, free: 29.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.005535, allocations: 231.6 kB / 457.4 MB, free: 29.46 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005538, allocations: 0 / 457.4 MB, free: 29.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003961/0.005934, allocations: 356.2 kB / 457.8 MB, free: 29.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.00595, allocations: 5.75 kB / 457.8 MB, free: 29.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.005957, allocations: 4.312 kB / 457.8 MB, free: 29.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.006273, allocations: 126.7 kB / 457.9 MB, free: 29.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.00642, allocations: 77.5 kB / 458 MB, free: 29.29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.00744, allocations: 2.062 MB / 460 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.007519, allocations: 32.06 kB / 460.1 MB, free: 27.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.007532, allocations: 20.03 kB / 460.1 MB, free: 27.42 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.007599, allocations: 174.1 kB / 460.3 MB, free: 27.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.007622, allocations: 22.55 kB / 460.3 MB, free: 27.23 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.007652, allocations: 39.19 kB / 460.3 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.007655, allocations: 3.062 kB / 460.3 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.007663, allocations: 0 / 460.3 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007666, allocations: 2.812 kB / 460.3 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.00778, allocations: 169.9 kB / 460.5 MB, free: 27.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007783, allocations: 0 / 460.5 MB, free: 27.05 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.007978, allocations: 72.5 kB / 460.6 MB, free: 27.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.008247, allocations: 117.1 kB / 460.7 MB, free: 27.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.008267, allocations: 12.47 kB / 460.7 MB, free: 27.01 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008509/0.009118, allocations: 2.059 MB / 462.8 MB, free: 25.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009119, allocations: 0 / 462.8 MB, free: 25.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.009525, allocations: 422.6 kB / 463.2 MB, free: 24.98 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.009534, allocations: 13.2 kB / 463.2 MB, free: 24.98 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.009555, allocations: 16.73 kB / 463.2 MB, free: 24.97 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/0.009599, allocations: 8 kB / 463.2 MB, free: 24.96 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.009635, allocations: 20.83 kB / 463.2 MB, free: 24.96 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.009645, allocations: 9.125 kB / 463.2 MB, free: 24.96 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.603e-05/0.009661, allocations: 122.4 kB / 463.4 MB, free: 24.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-08/0.009661, allocations: 3.031 kB / 463.4 MB, free: 24.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002172/0.009878, allocations: 68.91 kB / 463.4 MB, free: 24.83 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.706e-05/0.009975, allocations: 118.6 kB / 463.5 MB, free: 24.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.01039, allocations: 426.8 kB / 464 MB, free: 24.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01039, allocations: 0 / 464 MB, free: 24.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.01063, allocations: 347.4 kB / 464.3 MB, free: 24.27 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.01078, allocations: 17.22 kB / 464.3 MB, free: 24.26 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.01153, allocations: 1.014 MB / 465.3 MB, free: 23.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.01158, allocations: 92.31 kB / 465.4 MB, free: 23.43 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.994e-05/0.01162, allocations: 13.88 kB / 465.4 MB, free: 23.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.01167, allocations: 89.86 kB / 465.5 MB, free: 23.36 MB / 410.8 MB Notification: Performance of SimCode: time 8.12e-07/0.01167, allocations: 3.938 kB / 465.5 MB, free: 23.35 MB / 410.8 MB Notification: Performance of Templates: time 0.00435/0.01602, allocations: 2.988 MB / 468.5 MB, free: 23.11 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_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.6602026321925223]