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.001275/0.001275, allocations: 109 kB / 21.22 MB, free: 0.7539 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.001583/0.001583, allocations: 210.1 kB / 24.52 MB, free: 4.152 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.071/1.071, allocations: 120.6 MB / 435.3 MB, free: 0.8633 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.001981/0.001981, allocations: 67.89 kB / 0.608 GB, free: 10.47 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1593, allocations: 85.86 MB / 0.6918 GB, free: 4.406 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002766/0.162, allocations: 1.234 MB / 0.6931 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.1622, allocations: 47.86 kB / 0.6931 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.1623, allocations: 0 / 0.6931 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.432e-05/0.1624, allocations: 11.92 kB / 0.6931 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.1624, allocations: 4 kB / 0.6931 GB, free: 3.102 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1626, allocations: 23.89 kB / 0.6931 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.1628, allocations: 107.8 kB / 0.6932 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1629, allocations: 11.97 kB / 0.6932 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.1629, allocations: 35.92 kB / 0.6933 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.163, allocations: 35.94 kB / 0.6933 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.163, allocations: 4 kB / 0.6933 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.1631, allocations: 8 kB / 0.6933 GB, free: 2.879 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1631, allocations: 23.91 kB / 0.6934 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.1632, allocations: 35.84 kB / 0.6934 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.907e-05/0.1633, allocations: 47.81 kB / 0.6934 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1633, allocations: 0 / 0.6934 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1633, allocations: 0 / 0.6934 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1633, allocations: 0 / 0.6934 GB, free: 2.773 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.0006767/0.164, allocations: 334.2 kB / 0.6937 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.164, allocations: 8.031 kB / 0.6938 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.164, allocations: 4.938 kB / 0.6938 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1642, allocations: 126.8 kB / 0.6939 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1642, allocations: 8.375 kB / 0.6939 GB, free: 2.246 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1643, allocations: 8.375 kB / 0.6939 GB, free: 2.238 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1644, allocations: 90.12 kB / 0.694 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1645, allocations: 4.188 kB / 0.694 GB, free: 2.141 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1645, allocations: 7.938 kB / 0.694 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1645, allocations: 0 / 0.694 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1646, allocations: 43.95 kB / 0.694 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1648, allocations: 184.6 kB / 0.6942 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.1653, allocations: 142.4 kB / 0.6943 GB, free: 1.719 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.1653, allocations: 40.84 kB / 0.6944 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1654, allocations: 4 kB / 0.6944 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1654, allocations: 46.55 kB / 0.6944 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1654, allocations: 0 / 0.6944 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007613/0.1661, allocations: 222.5 kB / 0.6946 GB, free: 1.391 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1662, allocations: 55.41 kB / 0.6947 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.1663, allocations: 101.8 kB / 0.6948 GB, free: 1.215 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1663, allocations: 33.7 kB / 0.6948 GB, free: 1.176 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1663, allocations: 80.14 kB / 0.6949 GB, free: 1.094 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1664, allocations: 59.53 kB / 0.695 GB, free: 1.035 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.1665, allocations: 37.7 kB / 0.695 GB, free: 0.9922 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1666, allocations: 326.8 kB / 0.6953 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.1667, allocations: 43.97 kB / 0.6954 GB, free: 0.6211 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1668, allocations: 92.25 kB / 0.6954 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.167, allocations: 152.1 kB / 0.6956 GB, free: 360 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.167, allocations: 0 / 0.6956 GB, free: 360 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004585/0.1675, allocations: 222.2 kB / 0.6958 GB, free: 128 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1675, allocations: 15.88 kB / 0.6958 GB, free: 112 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1675, allocations: 0 / 0.6958 GB, free: 112 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/0.1679, allocations: 64.88 kB / 0.6959 GB, free: 44 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.168, allocations: 28 kB / 0.6959 GB, free: 16 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.1697, allocations: 1.483 MB / 0.6974 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.1698, allocations: 11.98 kB / 0.6974 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1698, allocations: 4 kB / 0.6974 GB, free: 14.39 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.0001168/0.1699, allocations: 125.7 kB / 0.6975 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1699, allocations: 15.98 kB / 0.6975 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.17, allocations: 20.06 kB / 0.6975 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.17, allocations: 0 / 0.6975 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.17, allocations: 0 / 0.6975 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.17, allocations: 4 kB / 0.6975 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1702, allocations: 176.6 kB / 0.6977 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1702, allocations: 0 / 0.6977 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1704, allocations: 27.98 kB / 0.6977 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.1706, allocations: 64.73 kB / 0.6978 GB, free: 13.92 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1706, allocations: 4 kB / 0.6978 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.1723, allocations: 1.486 MB / 0.6992 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1723, allocations: 3.938 kB / 0.6992 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.1728, allocations: 252.9 kB / 0.6995 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.1728, allocations: 19.81 kB / 0.6995 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1728, allocations: 8 kB / 0.6995 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.1729, allocations: 0 / 0.6995 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1729, allocations: 11.98 kB / 0.6995 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1729, allocations: 12.06 kB / 0.6995 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.173, allocations: 79.27 kB / 0.6996 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 3.938 kB / 0.6996 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002386/0.1732, allocations: 32 kB / 0.6996 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.0001249/0.1733, allocations: 100.9 kB / 0.6997 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.1739, allocations: 247.2 kB / 0.7 GB, free: 11.52 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1739, allocations: 0 / 0.7 GB, free: 11.52 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.1742, allocations: 199 kB / 0.7002 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1744, allocations: 7.375 kB / 0.7002 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1754, allocations: 0.6581 MB / 0.7008 GB, free: 10.62 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1758, allocations: 0.7002 MB / 0.7015 GB, free: 9.891 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.511e-05/0.1759, allocations: 24.47 kB / 0.7015 GB, free: 9.867 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1759, allocations: 15.38 kB / 0.7015 GB, free: 9.852 MB / 0.5295 GB Notification: Performance of SimCode: time 3.71e-07/0.1759, allocations: 0 / 0.7015 GB, free: 9.852 MB / 0.5295 GB Notification: Performance of Templates: time 0.004649/0.1805, allocations: 1.432 MB / 0.7029 GB, free: 8.461 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.685933375032619]