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.001645/0.001645, allocations: 100.4 kB / 21.18 MB, free: 0.6484 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.001766/0.001766, allocations: 208.2 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.122/1.122, allocations: 120.6 MB / 435.2 MB, free: 0.6367 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_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.00201/0.00201, allocations: 67.89 kB / 0.6079 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1791, 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.002641/0.1817, allocations: 1.242 MB / 0.693 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002101/0.1819, allocations: 39.94 kB / 0.693 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.182, allocations: 0 / 0.693 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.23e-05/0.182, allocations: 3.938 kB / 0.693 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.1821, allocations: 7.984 kB / 0.693 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1823, allocations: 23.89 kB / 0.693 GB, free: 2.898 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1825, allocations: 103.8 kB / 0.6931 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.1825, allocations: 4 kB / 0.6931 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.1826, allocations: 47.89 kB / 0.6932 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.1827, allocations: 31.94 kB / 0.6932 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1827, allocations: 4 kB / 0.6932 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.1827, allocations: 4 kB / 0.6932 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.1828, allocations: 31.91 kB / 0.6932 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1829, allocations: 19.92 kB / 0.6933 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.183, allocations: 55.8 kB / 0.6933 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.183, allocations: 0 / 0.6933 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.543e-06/0.183, allocations: 0 / 0.6933 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.183, allocations: 3.938 kB / 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.0006512/0.1836, allocations: 330.2 kB / 0.6936 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1837, allocations: 8.031 kB / 0.6936 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1837, allocations: 4.938 kB / 0.6936 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1839, allocations: 126.8 kB / 0.6938 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1839, allocations: 12.38 kB / 0.6938 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1839, allocations: 8.375 kB / 0.6938 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1841, allocations: 82.2 kB / 0.6939 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1842, allocations: 4.188 kB / 0.6939 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1842, allocations: 11.92 kB / 0.6939 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1842, allocations: 0 / 0.6939 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.1843, allocations: 39.97 kB / 0.6939 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.1845, allocations: 149.2 kB / 0.6941 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1849, allocations: 142.4 kB / 0.6942 GB, free: 1.598 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.431e-05/0.185, allocations: 44.84 kB / 0.6942 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.185, allocations: 7.984 kB / 0.6942 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1851, allocations: 42.56 kB / 0.6943 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1851, allocations: 0 / 0.6943 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.000755/0.1858, allocations: 218.5 kB / 0.6945 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1859, allocations: 59.33 kB / 0.6946 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.186, allocations: 105.8 kB / 0.6947 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.186, allocations: 29.7 kB / 0.6947 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.186, allocations: 84.14 kB / 0.6948 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.1861, allocations: 59.53 kB / 0.6948 GB, free: 0.9062 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.1862, allocations: 37.7 kB / 0.6949 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1863, allocations: 322.8 kB / 0.6952 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.1864, allocations: 47.97 kB / 0.6952 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1865, allocations: 92.19 kB / 0.6953 GB, free: 396 kB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1868, allocations: 144.2 kB / 0.6954 GB, free: 236 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1868, allocations: 4 kB / 0.6954 GB, free: 232 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000463/0.1872, allocations: 226.2 kB / 0.6957 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1872, allocations: 4 kB / 0.6957 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1872, allocations: 3.938 kB / 0.6957 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.1876, allocations: 68.86 kB / 0.6957 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1877, allocations: 31.92 kB / 0.6958 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.1893, allocations: 1.452 MB / 0.6972 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.1893, allocations: 16.05 kB / 0.6972 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1894, allocations: 4 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.0001091/0.1895, allocations: 125.8 kB / 0.6973 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1895, allocations: 11.95 kB / 0.6973 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.1895, allocations: 12.06 kB / 0.6973 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1895, allocations: 0 / 0.6973 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1895, allocations: 4 kB / 0.6973 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1895, allocations: 0 / 0.6973 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1897, allocations: 149.2 kB / 0.6975 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1897, allocations: 8.312 kB / 0.6975 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1899, allocations: 23.94 kB / 0.6975 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.1901, allocations: 60.78 kB / 0.6976 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.1901, allocations: 11.98 kB / 0.6976 GB, free: 13.87 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.1916, allocations: 1.46 MB / 0.699 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1916, allocations: 0 / 0.699 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.1921, allocations: 262 kB / 0.6993 GB, free: 12.03 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.1921, allocations: 7.891 kB / 0.6993 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1921, allocations: 7.984 kB / 0.6993 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.1922, allocations: 8 kB / 0.6993 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1922, allocations: 15.98 kB / 0.6993 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1922, allocations: 4 kB / 0.6993 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.1923, allocations: 87.27 kB / 0.6994 GB, free: 11.9 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1923, allocations: 0 / 0.6994 GB, free: 11.9 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002328/0.1925, allocations: 28 kB / 0.6994 GB, free: 11.87 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.0001165/0.1926, allocations: 95.25 kB / 0.6995 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.1932, allocations: 254.5 kB / 0.6997 GB, free: 11.5 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.1932, allocations: 0 / 0.6997 GB, free: 11.5 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.1935, allocations: 186.6 kB / 0.6999 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.1937, 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.001066/0.1947, allocations: 0.6835 MB / 0.7006 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.1948, allocations: 87.25 kB / 0.7007 GB, free: 10.47 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1948, allocations: 11.44 kB / 0.7007 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of SimCode: time 4.51e-07/0.1949, allocations: 4 kB / 0.7007 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of Templates: time 0.003488/0.1983, allocations: 1.479 MB / 0.7021 GB, free: 8.984 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 -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: 8.997452869080007]