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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 110.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 182.1 kB / 23.71 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.118/1.118, allocations: 120.6 MB / 428.3 MB, free: 5.547 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 0.5989 GB, free: 16.83 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1889, allocations: 84.69 MB / 0.6816 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002497/0.1914, allocations: 1.222 MB / 0.6828 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.1916, allocations: 47.86 kB / 0.6829 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.1917, allocations: 0 / 0.6829 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.887e-05/0.1918, allocations: 7.922 kB / 0.6829 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.1918, allocations: 0 / 0.6829 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.192, allocations: 27.95 kB / 0.6829 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1922, allocations: 111.8 kB / 0.683 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.1923, allocations: 3.938 kB / 0.683 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.1923, allocations: 31.92 kB / 0.683 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.1924, allocations: 43.94 kB / 0.6831 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1924, allocations: 4 kB / 0.6831 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.1925, allocations: 4 kB / 0.6831 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.1925, allocations: 27.91 kB / 0.6831 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1926, allocations: 27.91 kB / 0.6831 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.1927, allocations: 51.75 kB / 0.6832 GB, free: 10.31 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1927, allocations: 3.938 kB / 0.6832 GB, free: 10.31 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.407e-06/0.1927, allocations: 4 kB / 0.6832 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1927, allocations: 0 / 0.6832 GB, free: 10.3 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.0006848/0.1934, allocations: 326.2 kB / 0.6835 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1935, allocations: 12.03 kB / 0.6835 GB, free: 9.941 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1935, allocations: 4.891 kB / 0.6835 GB, free: 9.938 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1937, allocations: 122.9 kB / 0.6836 GB, free: 9.793 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1937, allocations: 12.38 kB / 0.6837 GB, free: 9.781 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.1937, allocations: 16.33 kB / 0.6837 GB, free: 9.766 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1939, allocations: 86.19 kB / 0.6837 GB, free: 9.676 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1939, allocations: 192 / 0.6837 GB, free: 9.676 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1939, allocations: 7.938 kB / 0.6838 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.194, allocations: 0 / 0.6838 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.1941, allocations: 43.91 kB / 0.6838 GB, free: 9.625 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.1943, allocations: 180.6 kB / 0.684 GB, free: 9.406 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.1947, allocations: 138.4 kB / 0.6841 GB, free: 9.262 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/0.1948, allocations: 48.83 kB / 0.6841 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1948, allocations: 0 / 0.6841 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1949, allocations: 38.56 kB / 0.6842 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/0.1949, allocations: 3.984 kB / 0.6842 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0008103/0.1957, allocations: 242.5 kB / 0.6844 GB, free: 8.914 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1957, allocations: 51.41 kB / 0.6845 GB, free: 8.852 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.1958, allocations: 93.86 kB / 0.6846 GB, free: 8.75 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1958, allocations: 29.7 kB / 0.6846 GB, free: 8.715 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1959, allocations: 84.14 kB / 0.6847 GB, free: 8.629 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.1959, allocations: 55.56 kB / 0.6847 GB, free: 8.574 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.196, allocations: 37.72 kB / 0.6848 GB, free: 8.531 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1962, allocations: 326.8 kB / 0.6851 GB, free: 8.203 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1963, allocations: 51.97 kB / 0.6851 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1964, allocations: 80.25 kB / 0.6852 GB, free: 8.059 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1966, allocations: 156.5 kB / 0.6853 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1966, allocations: 0 / 0.6853 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004719/0.1971, allocations: 226.1 kB / 0.6856 GB, free: 7.66 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1971, allocations: 11.92 kB / 0.6856 GB, free: 7.648 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1971, allocations: 128 / 0.6856 GB, free: 7.648 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.1975, allocations: 64.8 kB / 0.6856 GB, free: 7.582 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1976, allocations: 31.98 kB / 0.6857 GB, free: 7.551 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.1993, allocations: 1.48 MB / 0.6871 GB, free: 5.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.1994, allocations: 7.953 kB / 0.6871 GB, free: 5.941 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1994, allocations: 12.06 kB / 0.6871 GB, free: 5.93 MB / 0.5139 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.0001269/0.1995, allocations: 129.7 kB / 0.6873 GB, free: 5.793 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.1995, allocations: 4 kB / 0.6873 GB, free: 5.789 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.1996, allocations: 16 kB / 0.6873 GB, free: 5.777 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1996, allocations: 4.328 kB / 0.6873 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1996, allocations: 0 / 0.6873 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1996, allocations: 0 / 0.6873 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1998, allocations: 188.5 kB / 0.6875 GB, free: 5.547 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1998, allocations: 4 kB / 0.6875 GB, free: 5.543 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2, allocations: 31.97 kB / 0.6875 GB, free: 5.512 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.2003, allocations: 56.8 kB / 0.6875 GB, free: 5.453 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2003, allocations: 7.938 kB / 0.6876 GB, free: 5.445 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.2018, allocations: 1.475 MB / 0.689 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2018, allocations: 8.047 kB / 0.689 GB, free: 3.848 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.2023, allocations: 257.6 kB / 0.6892 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.2023, allocations: 3.938 kB / 0.6892 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2023, allocations: 4 kB / 0.6893 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.2024, allocations: 4 kB / 0.6893 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.2024, allocations: 19.91 kB / 0.6893 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2024, allocations: 7.938 kB / 0.6893 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.2025, allocations: 83.28 kB / 0.6894 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.2025, allocations: 0 / 0.6894 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002525/0.2028, allocations: 28 kB / 0.6894 GB, free: 3.426 MB / 0.5139 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.0001254/0.2029, allocations: 95.25 kB / 0.6895 GB, free: 3.32 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.2035, allocations: 262.4 kB / 0.6897 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2035, allocations: 0 / 0.6897 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.2038, allocations: 186.6 kB / 0.6899 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.204, allocations: 11.52 kB / 0.6899 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2051, allocations: 0.6624 MB / 0.6906 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2054, allocations: 0.7041 MB / 0.6913 GB, free: 1.426 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.688e-05/0.2055, allocations: 28.45 kB / 0.6913 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.2055, allocations: 11.44 kB / 0.6913 GB, free: 1.387 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.2055, allocations: 4 kB / 0.6913 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of Templates: time 0.004744/0.2103, allocations: 1.42 MB / 0.6927 GB, free: 4 kB / 0.5139 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.149933342821896]