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.001799/0.001799, allocations: 107.9 kB / 20.43 MB, free: 1.066 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.002036/0.002036, allocations: 215.4 kB / 23.73 MB, free: 4.156 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.154/1.154, allocations: 120.6 MB / 434.5 MB, free: 0.6523 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.002042/0.002042, allocations: 63.91 kB / 0.6071 GB, free: 10.3 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1866, allocations: 85.87 MB / 0.691 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002665/0.1893, allocations: 1.221 MB / 0.6922 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.1895, allocations: 43.88 kB / 0.6922 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.1896, allocations: 0 / 0.6922 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1897, allocations: 7.922 kB / 0.6922 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.1898, allocations: 11.98 kB / 0.6923 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.19, allocations: 23.95 kB / 0.6923 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1901, allocations: 107.8 kB / 0.6924 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.1902, allocations: 0 / 0.6924 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.1903, allocations: 47.84 kB / 0.6924 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.1904, allocations: 27.95 kB / 0.6925 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1904, allocations: 4 kB / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.1904, allocations: 4 kB / 0.6925 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1905, allocations: 27.89 kB / 0.6925 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1905, allocations: 31.91 kB / 0.6925 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.1906, allocations: 47.81 kB / 0.6926 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1906, allocations: 0 / 0.6926 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1906, allocations: 7.938 kB / 0.6926 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.1906, allocations: 0 / 0.6926 GB, free: 2.602 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.0007054/0.1914, allocations: 330.2 kB / 0.6929 GB, free: 2.246 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1914, allocations: 12.03 kB / 0.6929 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1914, allocations: 4.938 kB / 0.6929 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1916, allocations: 118.9 kB / 0.693 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1917, allocations: 12.38 kB / 0.693 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.1917, allocations: 12.38 kB / 0.693 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1919, allocations: 94.06 kB / 0.6931 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1919, allocations: 192 / 0.6931 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1919, allocations: 7.938 kB / 0.6931 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1919, allocations: 0 / 0.6931 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.192, allocations: 39.97 kB / 0.6932 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1923, allocations: 157.2 kB / 0.6933 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.1927, allocations: 134.6 kB / 0.6935 GB, free: 1.598 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.1928, allocations: 52.77 kB / 0.6935 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1928, allocations: 0 / 0.6935 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1928, allocations: 34.56 kB / 0.6935 GB, free: 1.5 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1928, allocations: 4 kB / 0.6935 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007908/0.1936, allocations: 226.5 kB / 0.6938 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1937, allocations: 59.34 kB / 0.6938 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1938, allocations: 101.8 kB / 0.6939 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1938, allocations: 33.64 kB / 0.6939 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1939, allocations: 84.14 kB / 0.694 GB, free: 0.9609 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.194, allocations: 47.55 kB / 0.6941 GB, free: 0.9141 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.194, allocations: 41.7 kB / 0.6941 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1942, allocations: 322.8 kB / 0.6944 GB, free: 0.543 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.1943, allocations: 51.95 kB / 0.6945 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1944, allocations: 84.25 kB / 0.6945 GB, free: 404 kB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1947, allocations: 148.2 kB / 0.6947 GB, free: 240 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1947, allocations: 0 / 0.6947 GB, free: 240 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004655/0.1951, allocations: 230.1 kB / 0.6949 GB, free: 0 / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1952, allocations: 8.047 kB / 0.6949 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1952, allocations: 128 / 0.6949 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.1955, allocations: 64.69 kB / 0.695 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1956, allocations: 31.98 kB / 0.695 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.1973, allocations: 1.46 MB / 0.6964 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.1974, allocations: 11.98 kB / 0.6964 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1974, allocations: 7.984 kB / 0.6965 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.0001189/0.1975, allocations: 125.7 kB / 0.6966 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.1976, allocations: 3.953 kB / 0.6966 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.1976, allocations: 20.06 kB / 0.6966 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1976, allocations: 0 / 0.6966 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1976, allocations: 0 / 0.6966 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1976, allocations: 12.05 kB / 0.6966 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1978, allocations: 153.2 kB / 0.6968 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1978, allocations: 0 / 0.6968 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.198, allocations: 23.98 kB / 0.6968 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.1982, allocations: 56.8 kB / 0.6968 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1982, allocations: 4 kB / 0.6968 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.1997, allocations: 1.46 MB / 0.6983 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1997, allocations: 0 / 0.6983 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.2002, allocations: 274 kB / 0.6985 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.2002, allocations: 11.95 kB / 0.6985 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2002, allocations: 8 kB / 0.6985 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.2003, allocations: 0 / 0.6985 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.2003, allocations: 15.97 kB / 0.6986 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2003, allocations: 4 kB / 0.6986 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.2004, allocations: 79.22 kB / 0.6986 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.2004, allocations: 0 / 0.6986 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002392/0.2006, allocations: 32 kB / 0.6987 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.0001302/0.2007, allocations: 100.4 kB / 0.6988 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005544/0.2013, allocations: 250.5 kB / 0.699 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2013, allocations: 0 / 0.699 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.2016, allocations: 198.5 kB / 0.6992 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.2018, allocations: 11.94 kB / 0.6992 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2028, allocations: 0.6545 MB / 0.6998 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.298e-05/0.2029, allocations: 91.25 kB / 0.6999 GB, free: 10.5 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.316e-05/0.203, allocations: 28.45 kB / 0.7 GB, free: 10.47 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.203, allocations: 11.44 kB / 0.7 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of SimCode: time 3.51e-07/0.203, allocations: 0 / 0.7 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of Templates: time 0.004489/0.2075, allocations: 1.403 MB / 0.7013 GB, free: 9.102 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/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: 6.041887357831001]