Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001021/0.001021, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.001059/0.001059, allocations: 160.5 kB / 24.99 MB, free: 9.277 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.9414/0.9414, allocations: 177.1 MB / 205.3 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.6406/0.6406, allocations: 88.07 MB / 349.9 MB, free: 14.25 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.783e-05, allocations: 2.859 kB / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.00192/0.001938, allocations: 1.267 MB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.002118, allocations: 39.19 kB / 452.9 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.002159, allocations: 0 / 452.9 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.002247, allocations: 3.281 kB / 452.9 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.002321, allocations: 18.77 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.002515, allocations: 26.89 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.002882, allocations: 445.9 kB / 453.4 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.002934, allocations: 10.41 kB / 453.4 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.003124, allocations: 198.7 kB / 453.6 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.003342, allocations: 134.8 kB / 453.8 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.003398, allocations: 22.38 kB / 453.8 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.511e-05/0.003443, allocations: 23.16 kB / 453.8 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.003561, allocations: 135.5 kB / 453.9 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.003692, allocations: 116.9 kB / 454 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.003911, allocations: 227.9 kB / 454.3 MB, free: 32.07 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003913, allocations: 0 / 454.3 MB, free: 32.07 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003914, allocations: 0 / 454.3 MB, free: 32.07 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.00392, allocations: 2.562 kB / 454.3 MB, free: 32.07 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.00124/0.005159, allocations: 0.8026 MB / 455.1 MB, free: 31.57 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.0052, allocations: 8.062 kB / 455.1 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.005313, allocations: 42.64 kB / 455.1 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.005544, allocations: 186 kB / 455.3 MB, free: 31.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.005569, allocations: 27.44 kB / 455.3 MB, free: 31.39 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.005658, allocations: 59.19 kB / 455.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.006026, allocations: 215 kB / 455.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.006048, allocations: 10.31 kB / 455.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.00608, allocations: 11.22 kB / 455.6 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.006091, allocations: 10.06 kB / 455.6 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.006345, allocations: 123.3 kB / 455.8 MB, free: 31.26 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.006752, allocations: 266.7 kB / 456 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.007414, allocations: 360 kB / 456.4 MB, free: 30.92 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.007623, allocations: 116.3 kB / 456.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.007655, allocations: 12.19 kB / 456.5 MB, free: 30.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.007678, allocations: 48.16 kB / 456.5 MB, free: 30.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/0.007681, allocations: 0 / 456.5 MB, free: 30.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.002117/0.009797, allocations: 0.8624 MB / 457.4 MB, free: 30.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.009817, allocations: 58.09 kB / 457.5 MB, free: 30.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.009864, allocations: 167.1 kB / 457.6 MB, free: 30.4 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.009889, allocations: 47.36 kB / 457.7 MB, free: 30.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.00991, allocations: 142.2 kB / 457.8 MB, free: 30.22 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.01001, allocations: 270.5 kB / 458.1 MB, free: 30 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.01012, allocations: 159 kB / 458.2 MB, free: 29.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.01017, allocations: 0.5267 MB / 458.8 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.01031, allocations: 111.3 kB / 458.9 MB, free: 29.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01052, allocations: 354 kB / 459.2 MB, free: 29.09 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.01092, allocations: 0.494 MB / 459.7 MB, free: 28.72 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.01092, allocations: 2.906 kB / 459.7 MB, free: 28.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008655/0.01179, allocations: 0.7038 MB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.0118, allocations: 8.375 kB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01181, allocations: 9.469 kB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.01246, allocations: 254.6 kB / 460.7 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.01274, allocations: 165.4 kB / 460.8 MB, free: 28.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.01453, allocations: 2.665 MB / 463.5 MB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.01466, allocations: 61.72 kB / 463.6 MB, free: 26.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.01468, allocations: 27.97 kB / 463.6 MB, free: 26.32 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.15e-05/0.01477, allocations: 206.3 kB / 463.8 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.01481, allocations: 45.23 kB / 463.8 MB, free: 26.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.01486, allocations: 57.97 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01487, allocations: 9.969 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.01488, allocations: 2.906 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01488, allocations: 3.281 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.01507, allocations: 256.3 kB / 464.2 MB, free: 25.83 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01507, allocations: 0 / 464.2 MB, free: 25.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.0155, allocations: 131.9 kB / 464.3 MB, free: 25.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/0.01608, allocations: 250.4 kB / 464.5 MB, free: 25.78 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.01611, allocations: 29.92 kB / 464.6 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.01773, allocations: 2.662 MB / 467.2 MB, free: 23.72 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01773, allocations: 0 / 467.2 MB, free: 23.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.01862, allocations: 0.8164 MB / 468 MB, free: 23.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.01863, allocations: 32.3 kB / 468.1 MB, free: 23.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.01867, allocations: 24.66 kB / 468.1 MB, free: 23.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.01876, allocations: 12.38 kB / 468.1 MB, free: 23.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.01883, allocations: 43.23 kB / 468.1 MB, free: 23.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.01885, allocations: 22.27 kB / 468.2 MB, free: 23.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.576e-05/0.01887, allocations: 125.4 kB / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01887, allocations: 0 / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002847/0.01915, allocations: 143.2 kB / 468.4 MB, free: 23.24 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 9.937e-05/0.01925, allocations: 139.3 kB / 468.6 MB, free: 23.13 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.02006, allocations: 0.7284 MB / 469.3 MB, free: 22.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02006, allocations: 0 / 469.3 MB, free: 22.82 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.02055, allocations: 0.5166 MB / 469.8 MB, free: 22.56 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.02072, allocations: 28.16 kB / 469.8 MB, free: 22.55 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.02208, allocations: 1.957 MB / 471.8 MB, free: 21.13 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.02213, allocations: 127.3 kB / 471.9 MB, free: 21.05 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.02226, allocations: 120.7 kB / 472 MB, free: 21.04 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.02231, allocations: 24.41 kB / 472.1 MB, free: 21.03 MB / 410.8 MB Notification: Performance of SimCode: time 6.42e-07/0.02231, allocations: 2.625 kB / 472.1 MB, free: 21.03 MB / 410.8 MB Notification: Performance of Templates: time 0.006319/0.02863, allocations: 5.371 MB / 477.4 MB, free: 20.54 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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.776099757058546]