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.001745/0.001745, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001841/0.001841, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.124/1.124, allocations: 120.6 MB / 435.2 MB, free: 0.8398 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.002613/0.002613, allocations: 67.91 kB / 0.608 GB, free: 10.44 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2019, allocations: 85.86 MB / 0.6918 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.003053/0.205, allocations: 1.238 MB / 0.693 GB, free: 3.121 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002521/0.2052, allocations: 51.86 kB / 0.6931 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.2053, allocations: 0 / 0.6931 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2054, allocations: 0 / 0.6931 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.2054, allocations: 11.92 kB / 0.6931 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2057, allocations: 23.94 kB / 0.6931 GB, free: 3.035 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2059, allocations: 103.8 kB / 0.6932 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.2059, allocations: 4 kB / 0.6932 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.206, allocations: 39.91 kB / 0.6933 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2061, allocations: 39.94 kB / 0.6933 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.2062, allocations: 4 kB / 0.6933 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.2062, allocations: 4 kB / 0.6933 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.2062, allocations: 27.91 kB / 0.6933 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.2063, allocations: 27.86 kB / 0.6934 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.2064, allocations: 51.8 kB / 0.6934 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2064, allocations: 0 / 0.6934 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2064, allocations: 0 / 0.6934 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2064, allocations: 0 / 0.6934 GB, free: 2.738 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.0007467/0.2072, allocations: 334.2 kB / 0.6937 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2072, allocations: 11.97 kB / 0.6937 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.2073, allocations: 4.938 kB / 0.6937 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.2075, allocations: 118.9 kB / 0.6939 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2075, allocations: 12.38 kB / 0.6939 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.2075, allocations: 12.38 kB / 0.6939 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2077, allocations: 94.06 kB / 0.694 GB, free: 2.102 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2077, allocations: 192 / 0.694 GB, free: 2.102 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2077, allocations: 3.938 kB / 0.694 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2077, allocations: 4 kB / 0.694 GB, free: 2.094 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.2078, allocations: 43.91 kB / 0.694 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.2081, allocations: 188.6 kB / 0.6942 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.2086, allocations: 134.5 kB / 0.6943 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.2086, allocations: 40.84 kB / 0.6944 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2087, allocations: 4 kB / 0.6944 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.2087, allocations: 38.56 kB / 0.6944 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.2087, allocations: 0 / 0.6944 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007892/0.2095, allocations: 230.5 kB / 0.6946 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.2095, allocations: 51.41 kB / 0.6947 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.2096, allocations: 101.8 kB / 0.6948 GB, free: 1.184 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2097, allocations: 33.7 kB / 0.6948 GB, free: 1.145 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.2097, allocations: 80.14 kB / 0.6949 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.2098, allocations: 51.55 kB / 0.6949 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.2098, allocations: 41.7 kB / 0.695 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.21, allocations: 330.8 kB / 0.6953 GB, free: 0.6328 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.2101, allocations: 47.91 kB / 0.6953 GB, free: 0.5859 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2102, allocations: 88.25 kB / 0.6954 GB, free: 496 kB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.2104, allocations: 148.6 kB / 0.6956 GB, free: 332 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2104, allocations: 4 kB / 0.6956 GB, free: 328 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004604/0.2109, allocations: 222.1 kB / 0.6958 GB, free: 96 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2109, allocations: 7.938 kB / 0.6958 GB, free: 88 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2109, allocations: 8.125 kB / 0.6958 GB, free: 80 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.2113, allocations: 56.8 kB / 0.6958 GB, free: 20 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2114, allocations: 40.03 kB / 0.6959 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2131, allocations: 1.483 MB / 0.6973 GB, free: 14.37 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.2131, allocations: 11.98 kB / 0.6973 GB, free: 14.36 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2131, allocations: 8.062 kB / 0.6973 GB, free: 14.35 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.0001228/0.2133, allocations: 121.8 kB / 0.6975 GB, free: 14.22 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.2133, allocations: 3.953 kB / 0.6975 GB, free: 14.22 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.2133, allocations: 24.05 kB / 0.6975 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2133, allocations: 0 / 0.6975 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2133, allocations: 0 / 0.6975 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2133, allocations: 0 / 0.6975 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2136, allocations: 184.6 kB / 0.6977 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2136, allocations: 4 kB / 0.6977 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.2137, allocations: 27.94 kB / 0.6977 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.214, allocations: 60.78 kB / 0.6978 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.214, allocations: 7.828 kB / 0.6978 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.2156, allocations: 1.49 MB / 0.6992 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2156, allocations: 0 / 0.6992 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.2161, allocations: 253.7 kB / 0.6995 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.2161, allocations: 11.89 kB / 0.6995 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.2161, allocations: 7.984 kB / 0.6995 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.2162, allocations: 4.062 kB / 0.6995 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.2162, allocations: 15.98 kB / 0.6995 GB, free: 11.96 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.2162, allocations: 7.875 kB / 0.6995 GB, free: 11.96 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.2163, allocations: 83.27 kB / 0.6996 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.2163, allocations: 0 / 0.6996 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002532/0.2165, allocations: 32 kB / 0.6996 GB, free: 11.84 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.0001257/0.2167, allocations: 95.25 kB / 0.6997 GB, free: 11.74 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.2172, allocations: 250.5 kB / 0.6999 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2172, allocations: 0 / 0.6999 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.2175, allocations: 186.6 kB / 0.7001 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2177, allocations: 8 kB / 0.7001 GB, free: 11.28 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2188, allocations: 0.6912 MB / 0.7008 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2192, allocations: 0.7002 MB / 0.7015 GB, free: 9.824 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.2192, allocations: 11.44 kB / 0.7015 GB, free: 9.812 MB / 0.5295 GB Notification: Performance of SimCode: time 4.71e-07/0.2192, allocations: 3.938 kB / 0.7015 GB, free: 9.809 MB / 0.5295 GB Notification: Performance of Templates: time 0.004038/0.2233, allocations: 1.458 MB / 0.7029 GB, free: 8.359 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: 9.267749916994944]