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.001615/0.001615, allocations: 101.8 kB / 21.21 MB, free: 0.6328 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.001962/0.001962, allocations: 214.3 kB / 24.52 MB, free: 3.914 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 / 258.3 MB, free: 7.773 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.048/1.048, allocations: 120.6 MB / 435.3 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.001912/0.001912, allocations: 71.83 kB / 0.6079 GB, free: 10.43 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 85.87 MB / 0.6918 GB, free: 4.352 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002558/0.1786, allocations: 1.219 MB / 0.693 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.1788, allocations: 51.81 kB / 0.693 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.1789, allocations: 0 / 0.693 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.585e-05/0.179, allocations: 0 / 0.693 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.179, allocations: 15.91 kB / 0.693 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1792, allocations: 19.95 kB / 0.6931 GB, free: 3.039 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.1794, allocations: 103.8 kB / 0.6932 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.1795, allocations: 4 kB / 0.6932 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1796, allocations: 39.95 kB / 0.6932 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1797, allocations: 39.89 kB / 0.6932 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1797, allocations: 4 kB / 0.6932 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.1798, allocations: 4 kB / 0.6932 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.1798, allocations: 23.95 kB / 0.6933 GB, free: 2.824 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.1799, allocations: 31.86 kB / 0.6933 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.18, allocations: 47.81 kB / 0.6933 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.18, allocations: 3.938 kB / 0.6933 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.054e-06/0.18, allocations: 0 / 0.6933 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.18, allocations: 4 kB / 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.0007597/0.1808, allocations: 326.1 kB / 0.6937 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1808, allocations: 12.03 kB / 0.6937 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1809, allocations: 12.94 kB / 0.6937 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1811, allocations: 122.9 kB / 0.6938 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1811, allocations: 4.375 kB / 0.6938 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.1811, allocations: 12.38 kB / 0.6938 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1813, allocations: 86.14 kB / 0.6939 GB, free: 2.113 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1813, allocations: 4.188 kB / 0.6939 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1813, allocations: 3.938 kB / 0.6939 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1813, allocations: 4 kB / 0.6939 GB, free: 2.102 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1814, allocations: 47.89 kB / 0.694 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.1817, allocations: 157.2 kB / 0.6941 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.1821, allocations: 130.5 kB / 0.6942 GB, free: 1.734 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.1822, allocations: 48.84 kB / 0.6943 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1822, allocations: 0 / 0.6943 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1822, allocations: 38.55 kB / 0.6943 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1823, allocations: 0 / 0.6943 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007383/0.183, allocations: 226.5 kB / 0.6945 GB, free: 1.406 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.183, allocations: 51.41 kB / 0.6946 GB, free: 1.344 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1831, allocations: 105.8 kB / 0.6947 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1831, allocations: 29.7 kB / 0.6947 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.1832, allocations: 84.14 kB / 0.6948 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.1833, allocations: 51.55 kB / 0.6948 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.1833, allocations: 41.7 kB / 0.6949 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1835, allocations: 326.8 kB / 0.6952 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.1836, allocations: 51.91 kB / 0.6952 GB, free: 0.6328 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1837, allocations: 84.25 kB / 0.6953 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1839, allocations: 152.6 kB / 0.6955 GB, free: 380 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1839, allocations: 0 / 0.6955 GB, free: 380 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000462/0.1844, allocations: 222.1 kB / 0.6957 GB, free: 148 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1844, allocations: 8 kB / 0.6957 GB, free: 140 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1844, allocations: 0 / 0.6957 GB, free: 140 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.1847, allocations: 68.84 kB / 0.6958 GB, free: 68 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1849, allocations: 35.94 kB / 0.6958 GB, free: 32 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.1868, allocations: 1.464 MB / 0.6972 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.1868, allocations: 7.984 kB / 0.6972 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1868, allocations: 8 kB / 0.6972 GB, free: 14.44 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.0001136/0.1869, allocations: 125.8 kB / 0.6974 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.187, allocations: 3.953 kB / 0.6974 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.187, allocations: 24 kB / 0.6974 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.187, allocations: 0 / 0.6974 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.187, allocations: 0 / 0.6974 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.187, allocations: 0 / 0.6974 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1872, allocations: 157.2 kB / 0.6975 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1872, allocations: 4 kB / 0.6975 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1874, allocations: 27.98 kB / 0.6976 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.1876, allocations: 60.73 kB / 0.6976 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1876, allocations: 7.984 kB / 0.6976 GB, free: 14 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.1891, allocations: 1.456 MB / 0.699 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1891, allocations: 4 kB / 0.699 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1896, allocations: 256.4 kB / 0.6993 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.1896, allocations: 11.89 kB / 0.6993 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1896, allocations: 16.05 kB / 0.6993 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.1897, allocations: 0 / 0.6993 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1897, allocations: 11.98 kB / 0.6993 GB, free: 12.13 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1897, allocations: 7.938 kB / 0.6993 GB, free: 12.12 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.1898, allocations: 79.27 kB / 0.6994 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1898, allocations: 0 / 0.6994 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000237/0.19, allocations: 28 kB / 0.6994 GB, free: 12.02 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.0001225/0.1901, allocations: 99.25 kB / 0.6995 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0006024/0.1907, allocations: 254.5 kB / 0.6998 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1907, allocations: 0 / 0.6998 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.191, allocations: 190.7 kB / 0.7 GB, free: 11.45 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.1912, allocations: 7.938 kB / 0.7 GB, free: 11.44 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1922, allocations: 0.6505 MB / 0.7006 GB, free: 10.76 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.947e-05/0.1923, allocations: 91.25 kB / 0.7007 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.247e-05/0.1924, allocations: 24.47 kB / 0.7007 GB, free: 10.62 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.1924, allocations: 19.36 kB / 0.7007 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of SimCode: time 3.11e-07/0.1924, allocations: 0 / 0.7007 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of Templates: time 0.004549/0.197, allocations: 1.458 MB / 0.7022 GB, free: 9.203 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.853083712048829]