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.00196/0.00196, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001745/0.001745, allocations: 164.5 kB / 24.49 MB, free: 3.453 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.414/1.414, allocations: 177.2 MB / 204.9 MB, free: 9.027 MB / 190.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 0.9613/0.9613, allocations: 88.06 MB / 349.3 MB, free: 1.398 MB / 318.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.002041/0.002041, allocations: 64 kB / 0.524 GB, free: 8.281 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1678, allocations: 85.84 MB / 0.6078 GB, free: 4.922 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002743/0.1705, allocations: 1.231 MB / 0.609 GB, free: 3.68 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.1707, allocations: 42.55 kB / 0.609 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1708, allocations: 3.938 kB / 0.609 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.608e-05/0.1708, allocations: 3.984 kB / 0.6091 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.1709, allocations: 7.938 kB / 0.6091 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1711, allocations: 27.95 kB / 0.6091 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1713, allocations: 103.8 kB / 0.6092 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.1713, allocations: 3.984 kB / 0.6092 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.1714, allocations: 35.97 kB / 0.6092 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1715, allocations: 39.88 kB / 0.6093 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1715, allocations: 4 kB / 0.6093 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.1716, allocations: 4 kB / 0.6093 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.1716, allocations: 23.97 kB / 0.6093 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.1717, allocations: 31.84 kB / 0.6093 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1718, allocations: 47.81 kB / 0.6094 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1718, allocations: 4 kB / 0.6094 GB, free: 3.305 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.245e-06/0.1718, allocations: 0 / 0.6094 GB, free: 3.305 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.1718, allocations: 3.938 kB / 0.6094 GB, free: 3.301 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.0007131/0.1725, allocations: 334.2 kB / 0.6097 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1726, allocations: 11.97 kB / 0.6097 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.1726, allocations: 4.938 kB / 0.6097 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1728, allocations: 122.9 kB / 0.6098 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1728, allocations: 4.375 kB / 0.6098 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1729, allocations: 8.375 kB / 0.6098 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.173, allocations: 94.12 kB / 0.6099 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.173, allocations: 192 / 0.6099 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1731, allocations: 7.938 kB / 0.6099 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1731, allocations: 0 / 0.6099 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.1732, allocations: 43.91 kB / 0.61 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.1734, allocations: 161.2 kB / 0.6101 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.1738, allocations: 126.5 kB / 0.6103 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.1739, allocations: 48.83 kB / 0.6103 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1739, allocations: 0 / 0.6103 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.174, allocations: 38.56 kB / 0.6103 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.174, allocations: 0 / 0.6103 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.000785/0.1747, allocations: 234.5 kB / 0.6106 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1748, allocations: 51.41 kB / 0.6106 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.1749, allocations: 97.84 kB / 0.6107 GB, free: 1.797 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1749, allocations: 33.7 kB / 0.6107 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.1749, allocations: 80.14 kB / 0.6108 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.175, allocations: 55.53 kB / 0.6109 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.1751, allocations: 45.64 kB / 0.6109 GB, free: 1.57 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.1752, allocations: 322.8 kB / 0.6112 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.1753, allocations: 51.95 kB / 0.6113 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1755, allocations: 84.25 kB / 0.6113 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1757, allocations: 152.6 kB / 0.6115 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1757, allocations: 0 / 0.6115 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000488/0.1762, allocations: 226.2 kB / 0.6117 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1762, allocations: 4.125 kB / 0.6117 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1762, allocations: 4 kB / 0.6117 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.1766, allocations: 64.73 kB / 0.6118 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1767, allocations: 39.92 kB / 0.6118 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.1784, allocations: 1.456 MB / 0.6132 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.1785, allocations: 7.984 kB / 0.6132 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1785, allocations: 8 kB / 0.6132 GB, free: 15.01 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.0001239/0.1786, allocations: 129.7 kB / 0.6134 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1786, allocations: 3.953 kB / 0.6134 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.1787, allocations: 20.12 kB / 0.6134 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1787, allocations: 0 / 0.6134 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1787, allocations: 8 kB / 0.6134 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.1787, allocations: 3.984 kB / 0.6134 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1788, allocations: 157.1 kB / 0.6136 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1788, allocations: 0 / 0.6136 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.179, allocations: 23.98 kB / 0.6136 GB, free: 14.63 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.1793, allocations: 56.8 kB / 0.6136 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1793, allocations: 11.94 kB / 0.6136 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.1808, allocations: 1.464 MB / 0.6151 GB, free: 13 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1808, allocations: 4.031 kB / 0.6151 GB, free: 12.99 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.1813, allocations: 256.1 kB / 0.6153 GB, free: 12.72 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.1813, allocations: 15.89 kB / 0.6153 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1814, allocations: 4 kB / 0.6153 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.1814, allocations: 0 / 0.6153 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1815, allocations: 15.97 kB / 0.6154 GB, free: 12.69 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1815, allocations: 4 kB / 0.6154 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.1815, allocations: 79.22 kB / 0.6154 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1815, allocations: 4 kB / 0.6154 GB, free: 12.6 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002459/0.1818, allocations: 28 kB / 0.6155 GB, free: 12.57 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.0001287/0.1819, allocations: 103.2 kB / 0.6156 GB, free: 12.46 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.1824, allocations: 246.5 kB / 0.6158 GB, free: 12.21 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1824, allocations: 0 / 0.6158 GB, free: 12.21 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.1827, allocations: 190.6 kB / 0.616 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.1829, allocations: 11.94 kB / 0.616 GB, free: 12 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1839, allocations: 0.6389 MB / 0.6166 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.184, allocations: 95.25 kB / 0.6167 GB, free: 11.21 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.739e-05/0.1841, allocations: 28.45 kB / 0.6167 GB, free: 11.19 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1841, allocations: 12.5 kB / 0.6167 GB, free: 11.18 MB / 0.5295 GB Notification: Performance of SimCode: time 3.9e-07/0.1841, allocations: 7.875 kB / 0.6168 GB, free: 11.17 MB / 0.5295 GB Notification: Performance of Templates: time 0.004456/0.1886, allocations: 1.366 MB / 0.6181 GB, free: 9.844 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 -s ida -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: 5.775800977018662]