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.001091/0.001091, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009686/0.0009686, allocations: 161 kB / 24.56 MB, free: 12 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.9556/0.9556, allocations: 177.1 MB / 205 MB, free: 5.633 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.6105/0.6105, allocations: 88.08 MB / 349.6 MB, free: 14.27 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_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.513e-06/1.513e-06, allocations: 0 / 451.6 MB, free: 33.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.215e-05, allocations: 3.297 kB / 451.6 MB, free: 33.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002218/0.00224, allocations: 1.266 MB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.002467, allocations: 50.27 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.00251, allocations: 0 / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.002628, allocations: 0 / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.097e-05/0.002719, allocations: 9.953 kB / 453 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.002948, allocations: 31.75 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.003207, allocations: 232.3 kB / 453.2 MB, free: 32.33 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.003249, allocations: 2.781 kB / 453.2 MB, free: 32.33 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.003385, allocations: 107.1 kB / 453.3 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.003528, allocations: 70.5 kB / 453.4 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.003574, allocations: 11.09 kB / 453.4 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.023e-05/0.003604, allocations: 11.03 kB / 453.4 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.003684, allocations: 75.92 kB / 453.5 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.003766, allocations: 56.94 kB / 453.6 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.003915, allocations: 118 kB / 453.7 MB, free: 32.21 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003917, allocations: 0 / 453.7 MB, free: 32.21 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003918, allocations: 0 / 453.7 MB, free: 32.21 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.003924, allocations: 0 / 453.7 MB, free: 32.21 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007637/0.004687, allocations: 0.5527 MB / 454.2 MB, free: 31.79 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.004741, allocations: 18.81 kB / 454.2 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.004818, allocations: 27.06 kB / 454.3 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.005003, allocations: 142.4 kB / 454.4 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.005029, allocations: 10.12 kB / 454.4 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.005094, allocations: 30.52 kB / 454.5 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.005348, allocations: 125.5 kB / 454.6 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.005371, allocations: 3.125 kB / 454.6 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.005395, allocations: 4.375 kB / 454.6 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.005409, allocations: 3.25 kB / 454.6 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.005533, allocations: 63.72 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.005799, allocations: 201.9 kB / 454.8 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.006271, allocations: 195.7 kB / 455 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.006382, allocations: 66.62 kB / 455.1 MB, free: 31.26 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.006402, allocations: 5.5 kB / 455.1 MB, free: 31.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.006426, allocations: 36.58 kB / 455.1 MB, free: 31.22 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.006428, allocations: 0 / 455.1 MB, free: 31.22 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.001257/0.007686, allocations: 416.2 kB / 455.5 MB, free: 31.09 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.007718, allocations: 57.16 kB / 455.6 MB, free: 31.03 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.00779, allocations: 163 kB / 455.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.007813, allocations: 37.64 kB / 455.8 MB, free: 30.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.007841, allocations: 130.5 kB / 455.9 MB, free: 30.69 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.007953, allocations: 141.3 kB / 456.1 MB, free: 30.58 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.008058, allocations: 86.3 kB / 456.1 MB, free: 30.53 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.008138, allocations: 0.5068 MB / 456.7 MB, free: 30.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.008265, allocations: 57.66 kB / 456.7 MB, free: 30.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.008452, allocations: 179.6 kB / 456.9 MB, free: 29.86 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.008787, allocations: 257.4 kB / 457.1 MB, free: 29.67 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.00879, allocations: 0 / 457.1 MB, free: 29.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007273/0.009517, allocations: 381.3 kB / 457.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.009537, allocations: 5.812 kB / 457.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.009545, allocations: 2.875 kB / 457.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.0101, allocations: 131.8 kB / 457.6 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.01032, allocations: 87.48 kB / 457.7 MB, free: 29.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.01192, allocations: 2.143 MB / 459.9 MB, free: 27.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01203, allocations: 35.66 kB / 459.9 MB, free: 27.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.01205, allocations: 11.06 kB / 459.9 MB, free: 27.57 MB / 410.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 8.337e-05/0.01213, allocations: 177.4 kB / 460.1 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.01217, allocations: 18.86 kB / 460.1 MB, free: 27.39 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.01221, allocations: 36.06 kB / 460.1 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.01221, allocations: 2.844 kB / 460.2 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.01222, allocations: 7.875 kB / 460.2 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01222, allocations: 6.156 kB / 460.2 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.01238, allocations: 176.7 kB / 460.3 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01238, allocations: 10 kB / 460.3 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.01269, allocations: 59.16 kB / 460.4 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.01314, allocations: 124.8 kB / 460.5 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.01317, allocations: 17.31 kB / 460.5 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.01457, allocations: 2.137 MB / 462.7 MB, free: 25.25 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.01457, allocations: 2.938 kB / 462.7 MB, free: 25.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.0153, allocations: 430.2 kB / 463.1 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.01531, allocations: 21.03 kB / 463.1 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.01535, allocations: 17.12 kB / 463.1 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.01543, allocations: 4 kB / 463.1 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.01549, allocations: 26.25 kB / 463.2 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.01551, allocations: 9.344 kB / 463.2 MB, free: 25.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.03e-05/0.01553, allocations: 125.8 kB / 463.3 MB, free: 24.91 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01553, allocations: 4 kB / 463.3 MB, free: 24.91 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003454/0.01587, allocations: 70.69 kB / 463.4 MB, free: 24.9 MB / 410.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 0.0001102/0.01598, allocations: 109 kB / 463.5 MB, free: 24.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.01671, allocations: 459.6 kB / 463.9 MB, free: 24.56 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01671, allocations: 0 / 463.9 MB, free: 24.56 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.0171, allocations: 349 kB / 464.3 MB, free: 24.34 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01733, allocations: 23.73 kB / 464.3 MB, free: 24.32 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.01861, allocations: 1.017 MB / 465.3 MB, free: 23.55 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.01867, allocations: 90.8 kB / 465.4 MB, free: 23.48 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.0188, allocations: 53.28 kB / 465.5 MB, free: 23.48 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.01887, allocations: 16.5 kB / 465.5 MB, free: 23.48 MB / 410.8 MB Notification: Performance of SimCode: time 1.303e-06/0.01887, allocations: 7.938 kB / 465.5 MB, free: 23.47 MB / 410.8 MB Notification: Performance of Templates: time 0.004747/0.02361, allocations: 2.958 MB / 468.4 MB, free: 23.2 MB / 410.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.595552462618798]