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.001197/0.001197, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001112/0.001112, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9392/0.9392, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.5567/0.5567, allocations: 88.07 MB / 349.9 MB, free: 14.12 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.262e-06/1.262e-06, allocations: 0 / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.891e-05, allocations: 4 kB / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001498/0.001516, allocations: 1.281 MB / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.001687, allocations: 39.88 kB / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.001718, allocations: 0 / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.737e-05/0.001796, allocations: 0 / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.451e-05/0.00186, allocations: 19.91 kB / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.002019, allocations: 19.97 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.002322, allocations: 447.3 kB / 400.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.002357, allocations: 11.98 kB / 400.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.002494, allocations: 191.8 kB / 400.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.002644, allocations: 139.7 kB / 401 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.002682, allocations: 24 kB / 401 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.002713, allocations: 20 kB / 401 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.002803, allocations: 135.8 kB / 401.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.002886, allocations: 111.7 kB / 401.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.003046, allocations: 239.2 kB / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003048, allocations: 4 kB / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003049, allocations: 0 / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.003054, allocations: 0 / 401.5 MB, free: 10.86 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.0007006/0.003755, allocations: 0.5796 MB / 402.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.003783, allocations: 8.031 kB / 402.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.00384, allocations: 48.91 kB / 402.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.00398, allocations: 157.5 kB / 402.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.003998, allocations: 28.88 kB / 402.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.004066, allocations: 60.25 kB / 402.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.00426, allocations: 196.5 kB / 402.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.004276, allocations: 12.12 kB / 402.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.004294, allocations: 8.312 kB / 402.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004301, allocations: 8.375 kB / 402.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.004413, allocations: 95.36 kB / 402.7 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.004668, allocations: 234.1 kB / 402.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.00503, allocations: 294.4 kB / 403.2 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.005126, allocations: 82.34 kB / 403.3 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.005154, allocations: 12.5 kB / 403.3 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.005177, allocations: 39.06 kB / 403.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.005178, allocations: 0 / 403.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001429/0.006607, allocations: 0.7148 MB / 404.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.006636, allocations: 63.84 kB / 404.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.006685, allocations: 122.6 kB / 404.2 MB, free: 7.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.006713, allocations: 41.7 kB / 404.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.006738, allocations: 85.45 kB / 404.4 MB, free: 7.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.006867, allocations: 261.8 kB / 404.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.006973, allocations: 142.6 kB / 404.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.007056, allocations: 350.7 kB / 405.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.007141, allocations: 73.97 kB / 405.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.007303, allocations: 244.4 kB / 405.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.007838, allocations: 382.1 kB / 405.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007841, allocations: 0 / 405.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006676/0.008508, allocations: 0.5408 MB / 406.3 MB, free: 5.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008522, allocations: 10.34 kB / 406.3 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.008529, allocations: 4 kB / 406.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/0.009097, allocations: 235.4 kB / 406.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.009374, allocations: 171.8 kB / 406.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.01096, allocations: 1.934 MB / 408.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01108, allocations: 59.62 kB / 408.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.0111, allocations: 20 kB / 408.8 MB, free: 3.227 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 9.634e-05/0.0112, allocations: 156.5 kB / 408.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.01123, allocations: 31.98 kB / 408.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.01129, allocations: 61.97 kB / 409 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01129, allocations: 7.938 kB / 409 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.0113, allocations: 11.94 kB / 409 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.0113, allocations: 3.984 kB / 409 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.01152, allocations: 230.1 kB / 409.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01152, allocations: 0 / 409.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.01191, allocations: 131.9 kB / 409.4 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.01243, allocations: 235.3 kB / 409.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.01246, allocations: 27.92 kB / 409.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.01401, allocations: 1.931 MB / 411.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01401, allocations: 0 / 411.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.01476, allocations: 0.6869 MB / 412.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.01477, allocations: 31.72 kB / 412.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.01482, allocations: 27.97 kB / 412.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.0149, allocations: 11.94 kB / 412.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.01495, allocations: 48.41 kB / 412.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01496, allocations: 8 kB / 412.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.608e-06/0.01497, allocations: 12.84 kB / 412.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01497, allocations: 0 / 412.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.01522, allocations: 144 kB / 412.5 MB, free: 15.29 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.0001018/0.01532, allocations: 116.3 kB / 412.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.01625, allocations: 0.5875 MB / 413.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01625, allocations: 0 / 413.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.01669, allocations: 434.5 kB / 413.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.0168, allocations: 28.8 kB / 413.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.01767, allocations: 1.109 MB / 414.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.01773, allocations: 126.8 kB / 414.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.01779, allocations: 35.27 kB / 414.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.01788, allocations: 87.38 kB / 415 MB, free: 12.7 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01788, allocations: 0 / 415 MB, free: 12.7 MB / 394.7 MB Notification: Performance of Templates: time 0.006896/0.02477, allocations: 5.552 MB / 420.6 MB, free: 7.219 MB / 394.7 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.2430799338035285]