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.001406/0.001406, allocations: 80.23 kB / 21.18 MB, free: 3.387 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.001373/0.001373, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9586/0.9586, allocations: 177.1 MB / 205 MB, free: 5.637 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.5871/0.5871, allocations: 88.07 MB / 349.5 MB, free: 14.24 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.322e-06/1.322e-06, allocations: 0 / 451.6 MB, free: 33.24 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.92e-05, allocations: 6.094 kB / 451.6 MB, free: 33.24 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001296/0.001315, allocations: 1.266 MB / 452.9 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000155/0.00147, allocations: 45.86 kB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.001499, allocations: 0 / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.585e-05/0.001575, allocations: 2.938 kB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.00164, allocations: 15.09 kB / 453 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.001808, allocations: 23.05 kB / 453 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.002064, allocations: 450 kB / 453.4 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.002108, allocations: 2.812 kB / 453.4 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.002239, allocations: 205.1 kB / 453.6 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.002386, allocations: 138.2 kB / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.002428, allocations: 20.38 kB / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.355e-05/0.002461, allocations: 22.81 kB / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.002543, allocations: 133.5 kB / 453.9 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.002634, allocations: 118.8 kB / 454.1 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.002781, allocations: 230.3 kB / 454.3 MB, free: 31.99 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002782, allocations: 0 / 454.3 MB, free: 31.99 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002783, allocations: 0 / 454.3 MB, free: 31.99 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.002788, allocations: 0 / 454.3 MB, free: 31.99 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.0007967/0.003585, allocations: 0.8037 MB / 455.1 MB, free: 31.49 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.003623, allocations: 11.53 kB / 455.1 MB, free: 31.49 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.00369, allocations: 45.77 kB / 455.1 MB, free: 31.47 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.003852, allocations: 174.5 kB / 455.3 MB, free: 31.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.003867, allocations: 27.28 kB / 455.3 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.003924, allocations: 56.34 kB / 455.4 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.004161, allocations: 221.5 kB / 455.6 MB, free: 31.22 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.004176, allocations: 7.047 kB / 455.6 MB, free: 31.21 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.004197, allocations: 11.25 kB / 455.6 MB, free: 31.21 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.004205, allocations: 9.281 kB / 455.6 MB, free: 31.21 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.004357, allocations: 126.9 kB / 455.8 MB, free: 31.19 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.004612, allocations: 270.2 kB / 456 MB, free: 30.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.005061, allocations: 357.6 kB / 456.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.005201, allocations: 117.4 kB / 456.5 MB, free: 30.81 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.005231, allocations: 11.22 kB / 456.5 MB, free: 30.81 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.005249, allocations: 40.83 kB / 456.5 MB, free: 30.76 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 1.643e-06/0.005251, allocations: 0 / 456.5 MB, free: 30.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001744/0.006995, allocations: 0.8605 MB / 457.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.007016, allocations: 58.69 kB / 457.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.007065, allocations: 182 kB / 457.6 MB, free: 30.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.007087, allocations: 40.55 kB / 457.7 MB, free: 30.28 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.007109, allocations: 139.1 kB / 457.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.616e-05/0.007205, allocations: 275.2 kB / 458.1 MB, free: 29.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.007308, allocations: 159 kB / 458.2 MB, free: 29.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.007362, allocations: 0.5275 MB / 458.8 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.0075, allocations: 108.4 kB / 458.9 MB, free: 29.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.007702, allocations: 357.4 kB / 459.2 MB, free: 29.02 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.008061, allocations: 0.4939 MB / 459.7 MB, free: 28.64 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.008065, allocations: 2.719 kB / 459.7 MB, free: 28.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008396/0.008905, allocations: 0.7148 MB / 460.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.00892, allocations: 7.656 kB / 460.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.008928, allocations: 5.406 kB / 460.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/0.009563, allocations: 252.1 kB / 460.7 MB, free: 28.35 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.009834, allocations: 160.1 kB / 460.8 MB, free: 28.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.01159, allocations: 2.665 MB / 463.5 MB, free: 26.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01171, allocations: 60.91 kB / 463.6 MB, free: 26.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.01173, allocations: 24.25 kB / 463.6 MB, free: 26.25 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 7.718e-05/0.01181, allocations: 203.7 kB / 463.8 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.01185, allocations: 44.17 kB / 463.8 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.01189, allocations: 60.62 kB / 463.9 MB, free: 25.98 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01189, allocations: 4.938 kB / 463.9 MB, free: 25.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.0119, allocations: 6.875 kB / 463.9 MB, free: 25.97 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.0119, allocations: 6.125 kB / 463.9 MB, free: 25.97 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.01209, allocations: 261.7 kB / 464.2 MB, free: 25.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01209, allocations: 0 / 464.2 MB, free: 25.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.01248, allocations: 131.2 kB / 464.3 MB, free: 25.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005711/0.01305, allocations: 250.1 kB / 464.5 MB, free: 25.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.01309, allocations: 30.66 kB / 464.6 MB, free: 25.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.0147, allocations: 2.654 MB / 467.2 MB, free: 23.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.0147, allocations: 6.875 kB / 467.2 MB, free: 23.64 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.01561, allocations: 0.8196 MB / 468.1 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.01562, allocations: 35.42 kB / 468.1 MB, free: 23.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.01565, allocations: 21.53 kB / 468.1 MB, free: 23.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.01574, allocations: 13.89 kB / 468.1 MB, free: 23.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.01579, allocations: 43.95 kB / 468.2 MB, free: 23.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.01581, allocations: 14.94 kB / 468.2 MB, free: 23.31 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.728e-05/0.01583, allocations: 124.7 kB / 468.3 MB, free: 23.19 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01583, allocations: 4 kB / 468.3 MB, free: 23.19 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002616/0.01609, allocations: 145.8 kB / 468.4 MB, free: 23.16 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 8.957e-05/0.01618, allocations: 133.6 kB / 468.6 MB, free: 23.05 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.01697, allocations: 0.7268 MB / 469.3 MB, free: 22.74 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01697, allocations: 2.812 kB / 469.3 MB, free: 22.74 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.01747, allocations: 0.5241 MB / 469.8 MB, free: 22.48 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.01765, allocations: 20.98 kB / 469.9 MB, free: 22.47 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.019, allocations: 1.956 MB / 471.8 MB, free: 21.05 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01905, allocations: 127.9 kB / 471.9 MB, free: 20.98 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.01917, allocations: 121.3 kB / 472.1 MB, free: 20.96 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.01923, allocations: 27.28 kB / 472.1 MB, free: 20.95 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.01923, allocations: 0 / 472.1 MB, free: 20.95 MB / 410.8 MB Notification: Performance of Templates: time 0.006443/0.02567, allocations: 5.362 MB / 477.4 MB, free: 20.47 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.661822797264904]