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.001053/0.001053, allocations: 83.58 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.001019/0.001019, allocations: 161 kB / 24.56 MB, free: 20 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.9408/0.9408, allocations: 177.1 MB / 205 MB, free: 5.621 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.6492/0.6492, allocations: 88.08 MB / 349.6 MB, free: 14.29 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.433e-06/1.433e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.94e-05, allocations: 5.688 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001355/0.001374, allocations: 1.273 MB / 452.9 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.001548, allocations: 41.69 kB / 453 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.00158, allocations: 0 / 453 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.315e-05/0.001663, allocations: 0 / 453 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.001727, allocations: 13.95 kB / 453 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.001908, allocations: 23.44 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.002155, allocations: 454.2 kB / 453.4 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.002192, allocations: 2.719 kB / 453.4 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.002323, allocations: 197.8 kB / 453.6 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.002471, allocations: 139.2 kB / 453.8 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.002514, allocations: 27.19 kB / 453.8 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.002547, allocations: 22.91 kB / 453.8 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.002629, allocations: 130 kB / 453.9 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.002717, allocations: 123.3 kB / 454.1 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.002897, allocations: 233.8 kB / 454.3 MB, free: 32.1 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.0029, allocations: 0 / 454.3 MB, free: 32.1 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002901, allocations: 0 / 454.3 MB, free: 32.1 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.002906, allocations: 0 / 454.3 MB, free: 32.1 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.0008456/0.003752, allocations: 0.792 MB / 455.1 MB, free: 31.61 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.003786, allocations: 10.72 kB / 455.1 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.003865, allocations: 48.02 kB / 455.1 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.004038, allocations: 174.2 kB / 455.3 MB, free: 31.45 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.004055, allocations: 26.62 kB / 455.3 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.004115, allocations: 63.98 kB / 455.4 MB, free: 31.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.004355, allocations: 220 kB / 455.6 MB, free: 31.33 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.004369, allocations: 10.98 kB / 455.6 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.00439, allocations: 11.25 kB / 455.6 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.004398, allocations: 6.094 kB / 455.6 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.004551, allocations: 124.2 kB / 455.8 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.004823, allocations: 276.4 kB / 456 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.005264, allocations: 345.1 kB / 456.4 MB, free: 30.96 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.005398, allocations: 115.3 kB / 456.5 MB, free: 30.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.005428, allocations: 16.38 kB / 456.5 MB, free: 30.92 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.005447, allocations: 48.14 kB / 456.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 1.563e-06/0.005448, allocations: 2.781 kB / 456.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001716/0.007164, allocations: 0.8544 MB / 457.4 MB, free: 30.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.007191, allocations: 57.16 kB / 457.5 MB, free: 30.61 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.007246, allocations: 176.9 kB / 457.6 MB, free: 30.44 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.007268, allocations: 42.73 kB / 457.7 MB, free: 30.39 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.00729, allocations: 135.1 kB / 457.8 MB, free: 30.26 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.007395, allocations: 273 kB / 458.1 MB, free: 30.05 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.007512, allocations: 158.8 kB / 458.2 MB, free: 29.96 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.007576, allocations: 0.5274 MB / 458.8 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.007717, allocations: 110.4 kB / 458.9 MB, free: 29.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.007936, allocations: 355.3 kB / 459.2 MB, free: 29.14 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.008319, allocations: 0.4885 MB / 459.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.008324, allocations: 2.719 kB / 459.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008456/0.009169, allocations: 0.7181 MB / 460.4 MB, free: 28.52 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.009185, allocations: 8.719 kB / 460.4 MB, free: 28.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.009193, allocations: 3 kB / 460.4 MB, free: 28.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/0.009843, allocations: 252 kB / 460.7 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.01011, allocations: 160.6 kB / 460.8 MB, free: 28.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.01195, allocations: 2.673 MB / 463.5 MB, free: 26.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.01208, allocations: 58.06 kB / 463.6 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.0121, allocations: 28.12 kB / 463.6 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 7.959e-05/0.01218, allocations: 207 kB / 463.8 MB, free: 26.16 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.01222, allocations: 43.98 kB / 463.8 MB, free: 26.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.01226, allocations: 64.88 kB / 463.9 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01227, allocations: 5.875 kB / 463.9 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.01228, allocations: 2.812 kB / 463.9 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01228, allocations: 3.281 kB / 463.9 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.01247, allocations: 262 kB / 464.2 MB, free: 25.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01247, allocations: 0 / 464.2 MB, free: 25.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.01285, allocations: 134.6 kB / 464.3 MB, free: 25.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.01341, allocations: 247.2 kB / 464.5 MB, free: 25.81 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.01345, allocations: 29.58 kB / 464.6 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.01506, allocations: 2.65 MB / 467.2 MB, free: 23.76 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01506, allocations: 3.281 kB / 467.2 MB, free: 23.76 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.01596, allocations: 0.817 MB / 468 MB, free: 23.48 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.01597, allocations: 32.7 kB / 468.1 MB, free: 23.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.01601, allocations: 23.58 kB / 468.1 MB, free: 23.45 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.01608, allocations: 14.94 kB / 468.1 MB, free: 23.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.01615, allocations: 43.5 kB / 468.2 MB, free: 23.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.01617, allocations: 18.62 kB / 468.2 MB, free: 23.43 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.697e-05/0.01618, allocations: 129.6 kB / 468.3 MB, free: 23.3 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01618, allocations: 0 / 468.3 MB, free: 23.3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002768/0.01646, allocations: 146.4 kB / 468.4 MB, free: 23.28 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.602e-05/0.01655, allocations: 138.4 kB / 468.6 MB, free: 23.17 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.01735, allocations: 0.728 MB / 469.3 MB, free: 22.86 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01735, allocations: 0 / 469.3 MB, free: 22.86 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.01785, allocations: 0.5221 MB / 469.8 MB, free: 22.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.01803, allocations: 24.69 kB / 469.8 MB, free: 22.58 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.01943, allocations: 1.956 MB / 471.8 MB, free: 21.16 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.065e-05/0.0195, allocations: 128 kB / 471.9 MB, free: 21.09 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.01963, allocations: 121.5 kB / 472 MB, free: 21.07 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.01968, allocations: 26.88 kB / 472.1 MB, free: 21.06 MB / 410.8 MB Notification: Performance of SimCode: time 7.72e-07/0.01968, allocations: 0 / 472.1 MB, free: 21.06 MB / 410.8 MB Notification: Performance of Templates: time 0.006588/0.02627, allocations: 5.366 MB / 477.4 MB, free: 20.58 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.9132478069514036]