Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001551/0.001551, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.001786/0.001786, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.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: 120.6 MB / 435.2 MB, free: 0.6836 MB / 334.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_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_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.002056/0.002056, allocations: 67.91 kB / 0.6079 GB, free: 10.3 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1778, allocations: 85.86 MB / 0.6917 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002488/0.1803, allocations: 1.231 MB / 0.6929 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002113/0.1805, allocations: 39.88 kB / 0.693 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.1806, allocations: 4 kB / 0.693 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.1807, allocations: 3.938 kB / 0.693 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.1807, allocations: 7.969 kB / 0.693 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1809, allocations: 23.97 kB / 0.693 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1811, allocations: 111.7 kB / 0.6931 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.1812, allocations: 4 kB / 0.6931 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.1812, allocations: 43.89 kB / 0.6932 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.1813, allocations: 31.89 kB / 0.6932 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1813, allocations: 4 kB / 0.6932 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 3.245e-05/0.1814, allocations: 8 kB / 0.6932 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.1814, allocations: 27.95 kB / 0.6932 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.1815, allocations: 23.92 kB / 0.6933 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1816, allocations: 51.73 kB / 0.6933 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1816, allocations: 4 kB / 0.6933 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1816, allocations: 4 kB / 0.6933 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1816, allocations: 0 / 0.6933 GB, free: 2.598 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.0006787/0.1823, allocations: 322.2 kB / 0.6936 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1823, allocations: 16.03 kB / 0.6936 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.1824, allocations: 4.922 kB / 0.6936 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1826, allocations: 122.9 kB / 0.6938 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1826, allocations: 8.375 kB / 0.6938 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/0.1826, allocations: 16.31 kB / 0.6938 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1828, allocations: 82.2 kB / 0.6939 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1829, allocations: 192 / 0.6939 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1829, allocations: 3.938 kB / 0.6939 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1829, allocations: 0 / 0.6939 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.183, allocations: 47.89 kB / 0.6939 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.1832, allocations: 157.2 kB / 0.6941 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.1836, allocations: 130.5 kB / 0.6942 GB, free: 1.605 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.1837, allocations: 48.78 kB / 0.6942 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1837, allocations: 4 kB / 0.6942 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1838, allocations: 34.56 kB / 0.6943 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1838, allocations: 0 / 0.6943 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007516/0.1845, allocations: 234.9 kB / 0.6945 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1846, allocations: 55.41 kB / 0.6946 GB, free: 1.203 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.1847, allocations: 105.8 kB / 0.6947 GB, free: 1.09 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1847, allocations: 25.7 kB / 0.6947 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1848, allocations: 84.14 kB / 0.6948 GB, free: 0.9727 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.1848, allocations: 55.55 kB / 0.6948 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.1849, allocations: 33.7 kB / 0.6948 GB, free: 0.8789 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.185, allocations: 326.8 kB / 0.6952 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.1851, allocations: 47.97 kB / 0.6952 GB, free: 0.5039 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1853, allocations: 91.52 kB / 0.6953 GB, free: 412 kB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1855, allocations: 152.2 kB / 0.6954 GB, free: 244 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1855, allocations: 4 kB / 0.6954 GB, free: 240 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004538/0.1859, allocations: 226.1 kB / 0.6957 GB, free: 4 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.186, allocations: 7.984 kB / 0.6957 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.186, allocations: 8.125 kB / 0.6957 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.1863, allocations: 60.69 kB / 0.6957 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1864, allocations: 31.98 kB / 0.6958 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.1881, allocations: 1.464 MB / 0.6972 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.1882, allocations: 7.953 kB / 0.6972 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1882, allocations: 8 kB / 0.6972 GB, free: 14.3 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.0001094/0.1883, allocations: 121.7 kB / 0.6973 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1883, allocations: 11.94 kB / 0.6973 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1884, allocations: 16.06 kB / 0.6973 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1884, allocations: 4 kB / 0.6973 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1884, allocations: 4.062 kB / 0.6974 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1884, allocations: 0 / 0.6974 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1886, allocations: 149.2 kB / 0.6975 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1886, allocations: 0 / 0.6975 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.1887, allocations: 27.98 kB / 0.6975 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.189, allocations: 53.12 kB / 0.6976 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.189, allocations: 11.98 kB / 0.6976 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.1905, allocations: 1.464 MB / 0.699 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1905, allocations: 0 / 0.699 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.1911, allocations: 257.6 kB / 0.6993 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.1911, allocations: 15.95 kB / 0.6993 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1911, allocations: 3.984 kB / 0.6993 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.1912, allocations: 8 kB / 0.6993 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.1912, allocations: 7.984 kB / 0.6993 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1912, allocations: 3.938 kB / 0.6993 GB, free: 12 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.1913, allocations: 87.27 kB / 0.6994 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1913, allocations: 0 / 0.6994 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002294/0.1915, allocations: 28 kB / 0.6994 GB, free: 11.88 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.0001219/0.1916, allocations: 99.25 kB / 0.6995 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.1921, allocations: 250.5 kB / 0.6997 GB, free: 11.52 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1921, allocations: 4 kB / 0.6997 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1924, allocations: 186.6 kB / 0.6999 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1926, allocations: 11.94 kB / 0.6999 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1937, allocations: 0.6881 MB / 0.7006 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.1938, allocations: 91.25 kB / 0.7007 GB, free: 10.47 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1938, allocations: 11.44 kB / 0.7007 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of SimCode: time 3.11e-07/0.1938, allocations: 3.938 kB / 0.7007 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of Templates: time 0.003768/0.1976, allocations: 1.483 MB / 0.7022 GB, free: 8.98 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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: 8.759197240229696]