Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.001772/0.001772, allocations: 76.44 kB / 21.24 MB, free: 400 kB / 14.72 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.001997/0.001997, allocations: 169.9 kB / 24.5 MB, free: 3.457 MB / 14.72 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 1.437/1.437, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] 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 1.057/1.057, allocations: 88.07 MB / 349.3 MB, free: 1.387 MB / 318.1 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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 68.94 kB / 0.524 GB, free: 8.281 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1808, allocations: 85.83 MB / 0.6078 GB, free: 4.922 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002943/0.1838, allocations: 1.223 MB / 0.609 GB, free: 3.688 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000251/0.184, allocations: 50.55 kB / 0.609 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.1841, allocations: 0 / 0.609 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1842, allocations: 0 / 0.609 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.1843, allocations: 15.91 kB / 0.6091 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1845, allocations: 23.95 kB / 0.6091 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1847, allocations: 103.8 kB / 0.6092 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.1848, allocations: 0 / 0.6092 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.1849, allocations: 43.89 kB / 0.6092 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.185, allocations: 31.95 kB / 0.6093 GB, free: 3.426 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.185, allocations: 4 kB / 0.6093 GB, free: 3.422 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.185, allocations: 4 kB / 0.6093 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.1851, allocations: 31.89 kB / 0.6093 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.1852, allocations: 27.86 kB / 0.6093 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1853, allocations: 51.8 kB / 0.6094 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1853, allocations: 0 / 0.6094 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1853, allocations: 11.88 kB / 0.6094 GB, free: 3.297 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.1853, allocations: 0 / 0.6094 GB, free: 3.297 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007676/0.1861, allocations: 330.2 kB / 0.6097 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1861, allocations: 12.03 kB / 0.6097 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1862, allocations: 4.938 kB / 0.6097 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1864, allocations: 118.9 kB / 0.6098 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1864, allocations: 8.375 kB / 0.6098 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1864, allocations: 12.38 kB / 0.6098 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1866, allocations: 82.2 kB / 0.6099 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1866, allocations: 192 / 0.6099 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1867, allocations: 3.938 kB / 0.6099 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1867, allocations: 4 kB / 0.6099 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1868, allocations: 47.89 kB / 0.61 GB, free: 2.625 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1871, allocations: 153.2 kB / 0.6101 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.1876, allocations: 138.5 kB / 0.6103 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.1877, allocations: 44.84 kB / 0.6103 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1877, allocations: 0 / 0.6103 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1878, allocations: 38.55 kB / 0.6103 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1878, allocations: 0 / 0.6103 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007779/0.1885, allocations: 230.4 kB / 0.6106 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1886, allocations: 59.34 kB / 0.6106 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.1887, allocations: 101.8 kB / 0.6107 GB, free: 1.793 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1887, allocations: 25.7 kB / 0.6107 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.1888, allocations: 88.14 kB / 0.6108 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.1888, allocations: 55.48 kB / 0.6109 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.1889, allocations: 37.7 kB / 0.6109 GB, free: 1.574 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1891, allocations: 326.8 kB / 0.6112 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.1892, allocations: 47.97 kB / 0.6113 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1893, allocations: 88.25 kB / 0.6113 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1895, allocations: 152.2 kB / 0.6115 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1895, allocations: 0 / 0.6115 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000482/0.19, allocations: 222.2 kB / 0.6117 GB, free: 0.707 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.19, allocations: 8 kB / 0.6117 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1901, allocations: 128 / 0.6117 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.1904, allocations: 76.89 kB / 0.6118 GB, free: 0.6211 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1905, allocations: 31.94 kB / 0.6118 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.1923, allocations: 1.456 MB / 0.6132 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.1924, allocations: 11.98 kB / 0.6132 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1924, allocations: 4 kB / 0.6133 GB, free: 15.01 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.1925, allocations: 133.6 kB / 0.6134 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1926, allocations: 3.953 kB / 0.6134 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1926, allocations: 20.12 kB / 0.6134 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1926, allocations: 3.938 kB / 0.6134 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1926, allocations: 0 / 0.6134 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1926, allocations: 4.062 kB / 0.6134 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1928, allocations: 149.2 kB / 0.6136 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1928, allocations: 4 kB / 0.6136 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.193, allocations: 23.98 kB / 0.6136 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.1933, allocations: 56.8 kB / 0.6136 GB, free: 14.58 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.1933, allocations: 11.98 kB / 0.6136 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.195, allocations: 1.46 MB / 0.6151 GB, free: 13 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.195, allocations: 0 / 0.6151 GB, free: 13 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.1955, allocations: 264 kB / 0.6153 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.1955, allocations: 15.95 kB / 0.6153 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1956, allocations: 7.984 kB / 0.6153 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.1956, allocations: 4 kB / 0.6153 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1957, allocations: 7.984 kB / 0.6154 GB, free: 12.69 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1957, allocations: 4 kB / 0.6154 GB, free: 12.69 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.1957, allocations: 79.27 kB / 0.6154 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1957, allocations: 0 / 0.6154 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002594/0.196, allocations: 32 kB / 0.6155 GB, free: 12.58 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.1961, allocations: 99.25 kB / 0.6156 GB, free: 12.47 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000614/0.1967, allocations: 255.1 kB / 0.6158 GB, free: 12.21 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1967, allocations: 0 / 0.6158 GB, free: 12.21 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.197, allocations: 186.6 kB / 0.616 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1972, allocations: 8.375 kB / 0.616 GB, free: 12 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1983, allocations: 0.6584 MB / 0.6166 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1985, allocations: 91.25 kB / 0.6167 GB, free: 11.21 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.836e-05/0.1985, allocations: 24.47 kB / 0.6167 GB, free: 11.18 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.1986, allocations: 16.44 kB / 0.6168 GB, free: 11.17 MB / 0.5295 GB Notification: Performance of SimCode: time 2.8e-07/0.1986, allocations: 0 / 0.6168 GB, free: 11.17 MB / 0.5295 GB Notification: Performance of Templates: time 0.005055/0.2036, allocations: 1.368 MB / 0.6181 GB, free: 9.848 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.774034671019763]