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.0009232/0.0009232, allocations: 80.8 kB / 21.5 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.0009468/0.0009468, allocations: 174.1 kB / 24.92 MB, free: 9.188 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.9307/0.9307, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.5534/0.5534, allocations: 88.07 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_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.022e-06/1.022e-06, allocations: 0 / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.283e-05, allocations: 2.312 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.001583/0.001596, allocations: 1.323 MB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.001747, allocations: 39.88 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.001774, allocations: 0 / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.00184, allocations: 0 / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.001906, allocations: 19.84 kB / 400.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.002045, allocations: 23.95 kB / 400.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.002327, allocations: 447.4 kB / 400.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.002421, allocations: 8 kB / 400.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.002562, allocations: 203.7 kB / 401 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.002717, allocations: 131.8 kB / 401.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.002754, allocations: 24 kB / 401.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.002783, allocations: 20 kB / 401.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.002875, allocations: 135.7 kB / 401.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.002954, allocations: 115.7 kB / 401.4 MB, free: 11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.003109, allocations: 235.2 kB / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00311, allocations: 0 / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003111, allocations: 4 kB / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.003114, 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.000688/0.003802, allocations: 0.5796 MB / 402.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.003832, allocations: 12.03 kB / 402.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.00389, allocations: 44.89 kB / 402.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.00403, allocations: 157.5 kB / 402.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.004047, allocations: 24.88 kB / 402.4 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.0041, allocations: 68.25 kB / 402.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.004408, allocations: 196.5 kB / 402.7 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.004422, allocations: 8.125 kB / 402.7 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.004441, allocations: 8.375 kB / 402.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004447, allocations: 4.375 kB / 402.7 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.004561, allocations: 91.38 kB / 402.8 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.004828, allocations: 238.1 kB / 403 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.00517, allocations: 293.4 kB / 403.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.005266, allocations: 86.34 kB / 403.4 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.005292, allocations: 12.5 kB / 403.4 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.005313, allocations: 43.05 kB / 403.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.462e-06/0.005314, allocations: 0 / 403.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001499/0.006813, allocations: 0.7109 MB / 404.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.006841, allocations: 67.84 kB / 404.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.006887, allocations: 110.7 kB / 404.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.006915, allocations: 41.7 kB / 404.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.006939, allocations: 93.39 kB / 404.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.007055, allocations: 257.8 kB / 404.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.007164, allocations: 142.6 kB / 404.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.007238, allocations: 350.7 kB / 405.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.007326, allocations: 73.97 kB / 405.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.00749, allocations: 240.4 kB / 405.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.007799, allocations: 394.1 kB / 405.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.007802, allocations: 0 / 405.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009297/0.008731, allocations: 0.5368 MB / 406.4 MB, free: 5.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.008748, allocations: 8.031 kB / 406.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.008756, allocations: 8 kB / 406.4 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.009328, allocations: 234.3 kB / 406.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.009724, allocations: 219.4 kB / 406.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.01161, allocations: 2.011 MB / 408.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.01174, allocations: 51.62 kB / 408.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.01176, allocations: 20 kB / 409 MB, free: 3.039 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.535e-05/0.01186, allocations: 156.5 kB / 409.1 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.0119, allocations: 31.97 kB / 409.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.01196, allocations: 65.91 kB / 409.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01196, allocations: 8.031 kB / 409.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01197, allocations: 4 kB / 409.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01197, allocations: 3.984 kB / 409.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.0122, allocations: 230.1 kB / 409.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0122, allocations: 0 / 409.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.01272, allocations: 181 kB / 409.6 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/0.01326, allocations: 237.9 kB / 409.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.0133, allocations: 23.97 kB / 409.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.01498, allocations: 1.999 MB / 411.9 MB, free: 0 / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01498, allocations: 0 / 411.9 MB, free: 0 / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.01583, allocations: 0.6907 MB / 412.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.01585, allocations: 35.67 kB / 412.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.01589, allocations: 23.97 kB / 412.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.01597, allocations: 8 kB / 412.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.01603, allocations: 48.41 kB / 412.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.01605, allocations: 8 kB / 412.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.101e-05/0.01606, allocations: 20.83 kB / 412.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01606, allocations: 0 / 412.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01631, allocations: 144 kB / 412.9 MB, free: 15 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 9.168e-05/0.01641, allocations: 108.3 kB / 413 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.01737, allocations: 0.5914 MB / 413.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.01738, allocations: 0 / 413.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.01785, allocations: 434.5 kB / 414 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.01797, allocations: 35.86 kB / 414 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008941/0.01886, allocations: 1.084 MB / 415.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.01893, allocations: 134.8 kB / 415.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.01899, allocations: 27.27 kB / 415.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.01908, allocations: 87.38 kB / 415.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01908, allocations: 4 kB / 415.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of Templates: time 0.006832/0.02591, allocations: 5.596 MB / 420.9 MB, free: 6.898 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 -s gbode -gbm=radauIIA3 -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.200662604998797]