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.0009998/0.0009998, 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.001107/0.001107, allocations: 170.4 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.8991/0.8991, allocations: 177.1 MB / 206.1 MB, free: 4.52 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.708/0.708, allocations: 88.08 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_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.292e-06/1.292e-06, allocations: 0 / 452.9 MB, free: 7.961 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.924e-05, allocations: 2.312 kB / 452.9 MB, free: 7.957 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002335/0.002354, allocations: 1.274 MB / 454.2 MB, free: 6.672 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002097/0.002564, allocations: 39.94 kB / 454.2 MB, free: 6.633 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.002607, allocations: 3.938 kB / 454.2 MB, free: 6.629 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 9.022e-05/0.002697, allocations: 0 / 454.2 MB, free: 6.629 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.002776, allocations: 15.92 kB / 454.3 MB, free: 6.613 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.002972, allocations: 23.94 kB / 454.3 MB, free: 6.59 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.003281, allocations: 231.7 kB / 454.5 MB, free: 6.363 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.003325, allocations: 0 / 454.5 MB, free: 6.363 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.003492, allocations: 107.8 kB / 454.6 MB, free: 6.258 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.003658, allocations: 75.81 kB / 454.7 MB, free: 6.184 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.003701, allocations: 16 kB / 454.7 MB, free: 6.168 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.003731, allocations: 8 kB / 454.7 MB, free: 6.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.003824, allocations: 67.84 kB / 454.8 MB, free: 6.094 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.288e-05/0.003907, allocations: 55.88 kB / 454.8 MB, free: 6.039 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.004079, allocations: 123.6 kB / 455 MB, free: 5.918 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004082, allocations: 0 / 455 MB, free: 5.918 MB / 426.8 MB Notification: Performance of FrontEnd: time 5.52e-07/0.004082, allocations: 0 / 455 MB, free: 5.918 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004087, allocations: 0 / 455 MB, free: 5.918 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007796/0.004866, allocations: 0.5158 MB / 455.5 MB, free: 5.363 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.004907, allocations: 12.02 kB / 455.5 MB, free: 5.352 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.005016, allocations: 28.89 kB / 455.5 MB, free: 5.324 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.00522, allocations: 136.4 kB / 455.6 MB, free: 5.164 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.005242, allocations: 20.38 kB / 455.7 MB, free: 5.145 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.005299, allocations: 28.31 kB / 455.7 MB, free: 5.117 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.005519, allocations: 122.8 kB / 455.8 MB, free: 4.992 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.005536, allocations: 4.141 kB / 455.8 MB, free: 4.988 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.005559, allocations: 4.375 kB / 455.8 MB, free: 4.984 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.005567, allocations: 8.312 kB / 455.8 MB, free: 4.977 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.005659, allocations: 51.88 kB / 455.9 MB, free: 4.926 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.005846, allocations: 173.1 kB / 456 MB, free: 4.73 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.006132, allocations: 179.2 kB / 456.2 MB, free: 4.543 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.006191, allocations: 55.66 kB / 456.3 MB, free: 4.484 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.006206, allocations: 8 kB / 456.3 MB, free: 4.477 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.006226, allocations: 41.33 kB / 456.3 MB, free: 4.426 MB / 426.8 MB Notification: Performance of pre-optimization done (n=30): time 1.442e-06/0.006228, allocations: 0 / 456.3 MB, free: 4.426 MB / 426.8 MB Notification: Performance of matching and sorting (n=30): time 0.0007629/0.006991, allocations: 371.1 kB / 456.7 MB, free: 4.055 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.007013, allocations: 55.34 kB / 456.7 MB, free: 3.988 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.007073, allocations: 169.9 kB / 456.9 MB, free: 3.805 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.007091, allocations: 33.7 kB / 456.9 MB, free: 3.766 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.007128, allocations: 131.5 kB / 457.1 MB, free: 3.629 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.007205, allocations: 134.9 kB / 457.2 MB, free: 3.496 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.007278, allocations: 87.81 kB / 457.3 MB, free: 3.398 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007391, allocations: 0.5079 MB / 457.8 MB, free: 2.879 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.007447, allocations: 40.97 kB / 457.8 MB, free: 2.84 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.007551, allocations: 169.5 kB / 458 MB, free: 2.633 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.00773, allocations: 240.6 kB / 458.2 MB, free: 2.352 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007732, allocations: 0 / 458.2 MB, free: 2.352 MB / 426.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004337/0.008166, allocations: 348.9 kB / 458.6 MB, free: 2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.008178, allocations: 4 kB / 458.6 MB, free: 1.996 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.008183, allocations: 4 kB / 458.6 MB, free: 1.992 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.008515, allocations: 123.6 kB / 458.7 MB, free: 1.867 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.008665, allocations: 87.84 kB / 458.8 MB, free: 1.781 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.009921, allocations: 2.065 MB / 460.9 MB, free: 15.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.009987, allocations: 31.72 kB / 460.9 MB, free: 15.57 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.01, allocations: 15.94 kB / 460.9 MB, free: 15.55 MB / 442.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 7.796e-05/0.01008, allocations: 176.5 kB / 461.1 MB, free: 15.37 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.0101, allocations: 23.98 kB / 461.1 MB, free: 15.35 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.01014, allocations: 33.31 kB / 461.1 MB, free: 15.32 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01014, allocations: 4 kB / 461.1 MB, free: 15.32 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01015, allocations: 4 kB / 461.1 MB, free: 15.31 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01015, allocations: 0 / 461.1 MB, free: 15.31 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.01029, allocations: 180.9 kB / 461.3 MB, free: 15.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01029, allocations: 0 / 461.3 MB, free: 15.11 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.0105, allocations: 67.91 kB / 461.4 MB, free: 15.05 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.01079, allocations: 123.5 kB / 461.5 MB, free: 14.92 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.01081, allocations: 11.98 kB / 461.5 MB, free: 14.91 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.01192, allocations: 2.057 MB / 463.6 MB, free: 12.73 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01192, allocations: 4 kB / 463.6 MB, free: 12.73 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.01238, allocations: 402.8 kB / 464 MB, free: 12.31 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.01239, allocations: 23.83 kB / 464 MB, free: 12.29 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01241, allocations: 15.94 kB / 464 MB, free: 12.27 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.01245, allocations: 4 kB / 464 MB, free: 12.27 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.01249, allocations: 31.88 kB / 464 MB, free: 12.23 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.0125, allocations: 8 kB / 464 MB, free: 12.23 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.01253, allocations: 123.2 kB / 464.2 MB, free: 12.11 MB / 442.8 MB Notification: Performance of sort global known variables: time 4e-08/0.01253, allocations: 0 / 464.2 MB, free: 12.11 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001958/0.01272, allocations: 68 kB / 464.2 MB, free: 12.04 MB / 442.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 8.813e-05/0.01281, allocations: 114.3 kB / 464.3 MB, free: 11.92 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.01326, allocations: 430 kB / 464.8 MB, free: 11.48 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01326, allocations: 0 / 464.8 MB, free: 11.48 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.01354, allocations: 341.8 kB / 465.1 MB, free: 11.12 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.01369, allocations: 15.98 kB / 465.1 MB, free: 11.11 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.01453, allocations: 1.012 MB / 466.1 MB, free: 10.06 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.01458, allocations: 92.31 kB / 466.2 MB, free: 9.949 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.01461, allocations: 17.95 kB / 466.2 MB, free: 9.934 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.01467, allocations: 86.2 kB / 466.3 MB, free: 9.848 MB / 442.8 MB Notification: Performance of SimCode: time 5.81e-07/0.01467, allocations: 0 / 466.3 MB, free: 9.848 MB / 442.8 MB Notification: Performance of Templates: time 0.004308/0.01898, allocations: 3.06 MB / 469.4 MB, free: 6.848 MB / 442.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.5058051398955286]