Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001462/0.001462, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001063/0.001063, allocations: 167.3 kB / 24.91 MB, free: 9.152 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.9787/0.9787, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.5952/0.5952, allocations: 88.08 MB / 349.9 MB, free: 14.14 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.888e-05, allocations: 3.406 kB / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.00211/0.002129, allocations: 1.321 MB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001885/0.002317, allocations: 39.88 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.00235, allocations: 0 / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.837e-05/0.002429, allocations: 7.984 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.002498, allocations: 7.938 kB / 400.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.002663, allocations: 27.88 kB / 400.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.003049, allocations: 447.4 kB / 400.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.003087, allocations: 4 kB / 400.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.00328, allocations: 203.7 kB / 401 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.003506, allocations: 131.8 kB / 401.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.003556, allocations: 24 kB / 401.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.003598, allocations: 24 kB / 401.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.003717, allocations: 135.7 kB / 401.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.003833, allocations: 115.7 kB / 401.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.004048, allocations: 239.2 kB / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00405, allocations: 0 / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004051, allocations: 0 / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004055, allocations: 0 / 401.6 MB, free: 10.77 MB / 378.7 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.000935/0.00499, allocations: 0.5835 MB / 402.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.005024, allocations: 8.031 kB / 402.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.0051, allocations: 40.91 kB / 402.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.005292, allocations: 153.5 kB / 402.4 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.005317, allocations: 32.81 kB / 402.4 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.005393, allocations: 56.27 kB / 402.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.005664, allocations: 200.5 kB / 402.7 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.005684, allocations: 16.12 kB / 402.7 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.00571, allocations: 8.375 kB / 402.7 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005719, allocations: 8.375 kB / 402.7 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.005872, allocations: 87.38 kB / 402.8 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.006218, allocations: 238.1 kB / 403 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.006669, allocations: 285.4 kB / 403.3 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.006808, allocations: 90.33 kB / 403.4 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.006835, allocations: 8.5 kB / 403.4 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.006864, allocations: 39.06 kB / 403.4 MB, free: 8.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.274e-06/0.006866, allocations: 0 / 403.4 MB, free: 8.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001927/0.008793, allocations: 0.7187 MB / 404.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.008823, allocations: 55.91 kB / 404.2 MB, free: 8.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.008876, allocations: 114.7 kB / 404.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.008908, allocations: 49.69 kB / 404.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.008936, allocations: 89.45 kB / 404.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.009063, allocations: 257.7 kB / 404.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.009183, allocations: 142.6 kB / 404.8 MB, free: 7.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.009275, allocations: 350.7 kB / 405.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.009366, allocations: 73.95 kB / 405.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.009543, allocations: 252.3 kB / 405.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.00987, allocations: 378.2 kB / 405.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.009877, allocations: 3.984 kB / 405.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007618/0.01064, allocations: 0.5408 MB / 406.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01066, allocations: 8 kB / 406.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01066, allocations: 4 kB / 406.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.01126, allocations: 234.4 kB / 406.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.01167, allocations: 215.7 kB / 406.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.01371, allocations: 2.007 MB / 408.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.01385, allocations: 63.61 kB / 408.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.01388, allocations: 20 kB / 409 MB, free: 3.043 MB / 378.7 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 0.0001183/0.014, allocations: 156.4 kB / 409.1 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.01404, allocations: 31.98 kB / 409.1 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.01411, allocations: 61.91 kB / 409.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.01412, allocations: 8 kB / 409.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.01413, allocations: 8.031 kB / 409.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01414, allocations: 3.984 kB / 409.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01438, allocations: 226.1 kB / 409.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01439, allocations: 0 / 409.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.01492, allocations: 182.1 kB / 409.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/0.01549, allocations: 233.9 kB / 409.9 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.01553, allocations: 27.97 kB / 409.9 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.01736, allocations: 1.999 MB / 411.9 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01736, allocations: 0 / 411.9 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.01818, allocations: 0.6906 MB / 412.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.0182, allocations: 35.67 kB / 412.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.01824, allocations: 19.97 kB / 412.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.01832, allocations: 12 kB / 412.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.0184, allocations: 44.41 kB / 412.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.01842, allocations: 15.98 kB / 412.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.229e-05/0.01843, allocations: 4.859 kB / 412.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01843, allocations: 4 kB / 412.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01872, allocations: 144 kB / 412.8 MB, free: 15.02 MB / 394.7 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 0.0001147/0.01883, allocations: 116.3 kB / 413 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.01956, allocations: 0.5879 MB / 413.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01957, allocations: 0 / 413.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.02005, allocations: 430.1 kB / 414 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.02018, allocations: 31.92 kB / 414 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.02113, allocations: 1.096 MB / 415.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.212e-05/0.02122, allocations: 126.8 kB / 415.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.02128, allocations: 31.28 kB / 415.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.02137, allocations: 83.38 kB / 415.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02137, allocations: 0 / 415.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of Templates: time 0.007322/0.0287, allocations: 5.61 MB / 420.9 MB, free: 6.895 MB / 394.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.166191690135747]