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.001642/0.001642, allocations: 107.9 kB / 20.44 MB, free: 1.188 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.001901/0.001901, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.498/1.498, 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.167/1.167, allocations: 120.6 MB / 434.5 MB, free: 0.6445 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.002116/0.002116, allocations: 67.91 kB / 0.6072 GB, free: 10.25 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.16, allocations: 85.86 MB / 0.691 GB, free: 4.184 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002921/0.1629, allocations: 1.226 MB / 0.6922 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002393/0.1631, allocations: 43.89 kB / 0.6922 GB, free: 2.91 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1632, allocations: 0 / 0.6922 GB, free: 2.91 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.57e-05/0.1633, allocations: 4 kB / 0.6923 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.1633, allocations: 15.91 kB / 0.6923 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.1635, allocations: 23.89 kB / 0.6923 GB, free: 2.867 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1638, allocations: 103.8 kB / 0.6924 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.1638, allocations: 3.984 kB / 0.6924 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.1639, allocations: 39.97 kB / 0.6924 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.164, allocations: 39.81 kB / 0.6925 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.164, allocations: 4 kB / 0.6925 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.1641, allocations: 4 kB / 0.6925 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1641, allocations: 27.97 kB / 0.6925 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1642, allocations: 27.91 kB / 0.6925 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1643, allocations: 55.75 kB / 0.6926 GB, free: 2.566 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1643, allocations: 0 / 0.6926 GB, free: 2.566 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1643, allocations: 3.938 kB / 0.6926 GB, free: 2.562 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1643, allocations: 0 / 0.6926 GB, free: 2.562 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.0007879/0.1651, allocations: 330.2 kB / 0.6929 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1652, allocations: 8.031 kB / 0.6929 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.1652, allocations: 4.938 kB / 0.6929 GB, free: 2.195 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1654, allocations: 126.9 kB / 0.693 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1654, allocations: 384 / 0.693 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1655, allocations: 12.38 kB / 0.693 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1657, allocations: 90.12 kB / 0.6931 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1657, allocations: 4.188 kB / 0.6931 GB, free: 1.938 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.1657, allocations: 15.88 kB / 0.6932 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1657, allocations: 0 / 0.6932 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1659, allocations: 39.97 kB / 0.6932 GB, free: 1.883 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.1661, allocations: 153.2 kB / 0.6933 GB, free: 1.703 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1666, allocations: 126.5 kB / 0.6935 GB, free: 1.57 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1667, allocations: 52.83 kB / 0.6935 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1667, allocations: 0 / 0.6935 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.1668, allocations: 46.5 kB / 0.6936 GB, free: 1.461 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1668, allocations: 0 / 0.6936 GB, free: 1.461 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.000819/0.1676, allocations: 226.6 kB / 0.6938 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1676, allocations: 55.34 kB / 0.6938 GB, free: 1.164 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.1677, allocations: 97.86 kB / 0.6939 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1678, allocations: 33.7 kB / 0.6939 GB, free: 1.02 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1678, allocations: 84.12 kB / 0.694 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.1679, allocations: 59.53 kB / 0.6941 GB, free: 0.875 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.168, allocations: 33.72 kB / 0.6941 GB, free: 0.8359 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1682, allocations: 326.8 kB / 0.6944 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1683, allocations: 51.95 kB / 0.6945 GB, free: 468 kB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1684, allocations: 91.52 kB / 0.6946 GB, free: 364 kB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1686, allocations: 148.6 kB / 0.6947 GB, free: 200 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1686, allocations: 0 / 0.6947 GB, free: 200 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005517/0.1692, allocations: 230.3 kB / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1692, allocations: 4 kB / 0.6949 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1692, allocations: 0 / 0.6949 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.1696, allocations: 72.78 kB / 0.695 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1697, allocations: 27.98 kB / 0.695 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.1717, allocations: 1.452 MB / 0.6964 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.1718, allocations: 11.98 kB / 0.6965 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.1718, allocations: 4 kB / 0.6965 GB, free: 14.28 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.0001695/0.172, allocations: 133.7 kB / 0.6966 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.172, allocations: 12.02 kB / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.172, allocations: 12.06 kB / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.172, allocations: 3.938 kB / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.172, allocations: 0 / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1721, allocations: 4 kB / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1723, allocations: 153.2 kB / 0.6968 GB, free: 13.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1723, allocations: 0 / 0.6968 GB, free: 13.93 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.1724, allocations: 23.98 kB / 0.6968 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.1727, allocations: 64.8 kB / 0.6968 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1727, allocations: 8 kB / 0.6969 GB, free: 13.83 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.1745, allocations: 1.456 MB / 0.6983 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1745, allocations: 3.984 kB / 0.6983 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.1751, allocations: 265.6 kB / 0.6985 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.1751, allocations: 7.891 kB / 0.6985 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1751, allocations: 8 kB / 0.6985 GB, free: 11.97 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.1752, allocations: 0 / 0.6985 GB, free: 11.97 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.1752, allocations: 11.97 kB / 0.6986 GB, free: 11.96 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1753, allocations: 8 kB / 0.6986 GB, free: 11.95 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.1753, allocations: 79.28 kB / 0.6986 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1753, allocations: 0 / 0.6986 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003132/0.1756, allocations: 28 kB / 0.6987 GB, free: 11.85 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.0002115/0.1759, allocations: 111.1 kB / 0.6988 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.1766, allocations: 242.5 kB / 0.699 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1766, allocations: 0 / 0.699 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.177, allocations: 190.6 kB / 0.6992 GB, free: 11.28 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1772, allocations: 8.188 kB / 0.6992 GB, free: 11.27 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1786, allocations: 0.6582 MB / 0.6998 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1787, allocations: 91.25 kB / 0.6999 GB, free: 10.47 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 8.041e-05/0.1788, allocations: 28.47 kB / 0.7 GB, free: 10.45 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1788, allocations: 11.44 kB / 0.7 GB, free: 10.43 MB / 0.5295 GB Notification: Performance of SimCode: time 1.412e-06/0.1788, allocations: 0 / 0.7 GB, free: 10.43 MB / 0.5295 GB Notification: Performance of Templates: time 0.005066/0.1839, allocations: 1.419 MB / 0.7014 GB, free: 9.059 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: 5.915214739274234]