Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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.001042/0.001042, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.00128/0.00128, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.922/0.922, allocations: 177.1 MB / 206 MB, free: 4.5 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.6909/0.6909, allocations: 88.07 MB / 350.7 MB, free: 11.82 MB / 330.8 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_40,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_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,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_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 452.9 MB, free: 7.992 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.075e-05, allocations: 2.312 kB / 452.9 MB, free: 7.988 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001767/0.001787, allocations: 1.27 MB / 454.2 MB, free: 6.707 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.001966, allocations: 39.88 kB / 454.2 MB, free: 6.668 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002, allocations: 0 / 454.2 MB, free: 6.668 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.002088, allocations: 0 / 454.2 MB, free: 6.668 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 7.212e-05/0.002161, allocations: 15.86 kB / 454.2 MB, free: 6.652 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002332, allocations: 27.94 kB / 454.3 MB, free: 6.625 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.002858, allocations: 0.8504 MB / 455.1 MB, free: 5.773 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.002899, allocations: 8 kB / 455.1 MB, free: 5.766 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.003251, allocations: 395.5 kB / 455.5 MB, free: 5.379 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.003623, allocations: 261.5 kB / 455.8 MB, free: 5.121 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.003693, allocations: 48 kB / 455.8 MB, free: 5.074 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.003747, allocations: 44 kB / 455.9 MB, free: 5.031 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.003909, allocations: 267.4 kB / 456.1 MB, free: 4.77 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.004091, allocations: 231.5 kB / 456.3 MB, free: 4.543 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.004432, allocations: 466.4 kB / 456.8 MB, free: 4.086 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004435, allocations: 0 / 456.8 MB, free: 4.086 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004436, allocations: 0 / 456.8 MB, free: 4.086 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.004443, allocations: 0 / 456.8 MB, free: 4.086 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001484/0.005927, allocations: 1.094 MB / 457.9 MB, free: 2.949 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.005966, allocations: 16.03 kB / 457.9 MB, free: 2.934 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.006091, allocations: 88.7 kB / 458 MB, free: 2.848 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.006336, allocations: 216 kB / 458.2 MB, free: 2.609 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.006368, allocations: 53.38 kB / 458.3 MB, free: 2.559 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.006479, allocations: 116.2 kB / 458.4 MB, free: 2.445 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.006851, allocations: 358.8 kB / 458.7 MB, free: 2.09 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.006875, allocations: 12.12 kB / 458.7 MB, free: 2.078 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.00691, allocations: 20.38 kB / 458.7 MB, free: 2.059 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.006919, allocations: 12.38 kB / 458.8 MB, free: 2.047 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.007172, allocations: 206.6 kB / 459 MB, free: 1.844 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.007659, allocations: 437.5 kB / 459.4 MB, free: 1.391 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.008333, allocations: 0.6081 MB / 460 MB, free: 0.7734 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.00856, allocations: 190.6 kB / 460.2 MB, free: 0.5859 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.00861, allocations: 20.98 kB / 460.2 MB, free: 0.5625 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.008636, allocations: 50.39 kB / 460.3 MB, free: 0.5039 MB / 426.8 MB Notification: Performance of pre-optimization done (n=120): time 2.855e-06/0.008639, allocations: 0 / 460.3 MB, free: 0.5039 MB / 426.8 MB Notification: Performance of matching and sorting (n=120): time 0.005094/0.01373, allocations: 2.076 MB / 462.3 MB, free: 14.43 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.01377, allocations: 64.41 kB / 462.4 MB, free: 14.35 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.01385, allocations: 189.9 kB / 462.6 MB, free: 14.14 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.0139, allocations: 53.7 kB / 462.6 MB, free: 14.09 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.01395, allocations: 153.4 kB / 462.8 MB, free: 13.93 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.01425, allocations: 0.5307 MB / 463.3 MB, free: 13.39 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.01449, allocations: 309.1 kB / 463.6 MB, free: 13.09 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01459, allocations: 488.4 kB / 464.1 MB, free: 12.6 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.01482, allocations: 171.8 kB / 464.3 MB, free: 12.43 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.01524, allocations: 0.6404 MB / 464.9 MB, free: 11.62 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.01596, allocations: 0.8809 MB / 465.8 MB, free: 10.56 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.01597, allocations: 4 kB / 465.8 MB, free: 10.56 MB / 442.8 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001716/0.01769, allocations: 1.258 MB / 467 MB, free: 9.293 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.01771, allocations: 17.84 kB / 467.1 MB, free: 9.277 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.01773, allocations: 8 kB / 467.1 MB, free: 9.27 MB / 442.8 MB Notification: Tearing is skipped for linear strong component 1: substituting through its 39 inner equations amplifies an error by 1e19, which double precision cannot carry. Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.01899, allocations: 475 kB / 467.5 MB, free: 8.801 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.01957, allocations: 327.6 kB / 467.9 MB, free: 8.48 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.01958, allocations: 23.92 kB / 467.9 MB, free: 8.457 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.01986, allocations: 111.1 kB / 468 MB, free: 8.348 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.01991, allocations: 44 kB / 468 MB, free: 8.305 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(40,7.4%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.02009, allocations: 240.2 kB / 468.3 MB, free: 8.059 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.02018, allocations: 75.77 kB / 468.3 MB, free: 7.984 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.02031, allocations: 124 kB / 468.5 MB, free: 7.859 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.02032, allocations: 12 kB / 468.5 MB, free: 7.848 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.02034, allocations: 4 kB / 468.5 MB, free: 7.844 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.02035, allocations: 7.969 kB / 468.5 MB, free: 7.836 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.02078, allocations: 405.5 kB / 468.9 MB, free: 7.41 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02078, allocations: 192 / 468.9 MB, free: 7.41 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.0216, allocations: 263.8 kB / 469.1 MB, free: 7.152 MB / 442.8 MB Notification: Tearing is skipped for linear strong component 2: substituting through its 39 inner equations amplifies an error by 1e19, which double precision cannot carry. Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.02278, allocations: 467 kB / 469.6 MB, free: 6.691 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.488e-05/0.02286, allocations: 55.92 kB / 469.6 MB, free: 6.637 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.02286, allocations: 12 kB / 469.7 MB, free: 6.625 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02287, allocations: 3.938 kB / 469.7 MB, free: 6.621 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.02473, allocations: 1.578 MB / 471.2 MB, free: 5.023 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.02477, allocations: 55.45 kB / 471.3 MB, free: 4.969 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.02485, allocations: 43.95 kB / 471.3 MB, free: 4.926 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.02503, allocations: 20 kB / 471.4 MB, free: 4.906 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.02515, allocations: 112.8 kB / 471.5 MB, free: 4.793 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.02519, allocations: 27.98 kB / 471.5 MB, free: 4.766 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.02522, allocations: 127.2 kB / 471.6 MB, free: 4.641 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02522, allocations: 3.938 kB / 471.6 MB, free: 4.637 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003846/0.02561, allocations: 220 kB / 471.8 MB, free: 4.422 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],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],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * 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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(40,7.4%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001621/0.02577, allocations: 173.7 kB / 472 MB, free: 4.238 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.02686, allocations: 0.8687 MB / 472.9 MB, free: 3.367 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02686, allocations: 0 / 472.9 MB, free: 3.367 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.02749, allocations: 0.5245 MB / 473.4 MB, free: 2.836 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.02772, allocations: 51.91 kB / 473.4 MB, free: 2.785 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.03084, allocations: 3.876 MB / 477.3 MB, free: 14.88 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.03096, allocations: 184.2 kB / 477.5 MB, free: 14.67 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.03109, allocations: 61.72 kB / 477.6 MB, free: 14.61 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.03123, allocations: 138.2 kB / 477.7 MB, free: 14.47 MB / 458.8 MB Notification: Performance of SimCode: time 1.062e-06/0.03123, allocations: 0 / 477.7 MB, free: 14.47 MB / 458.8 MB Notification: Performance of Templates: time 0.01088/0.04212, allocations: 8.42 MB / 486.1 MB, free: 6.195 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_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.7723508197814226]