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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.188/1.188, allocations: 120.6 MB / 426.5 MB, free: 5.793 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 0.5965 GB, free: 17.32 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1653, allocations: 84.65 MB / 0.6792 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002583/0.1679, allocations: 1.217 MB / 0.6804 GB, free: 11.24 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.1681, allocations: 43.86 kB / 0.6804 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.1682, allocations: 0 / 0.6804 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1683, allocations: 4 kB / 0.6804 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.1683, allocations: 7.922 kB / 0.6804 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1685, allocations: 23.95 kB / 0.6805 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1687, allocations: 103.8 kB / 0.6806 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.1688, allocations: 4 kB / 0.6806 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.1688, allocations: 35.97 kB / 0.6806 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.1689, allocations: 39.88 kB / 0.6806 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1689, allocations: 4 kB / 0.6806 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.169, allocations: 4 kB / 0.6807 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.169, allocations: 31.84 kB / 0.6807 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1691, allocations: 27.91 kB / 0.6807 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1692, allocations: 51.75 kB / 0.6808 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1692, allocations: 3.984 kB / 0.6808 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1692, allocations: 4 kB / 0.6808 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.1692, allocations: 0 / 0.6808 GB, free: 10.86 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.0007347/0.1699, allocations: 403.3 kB / 0.6811 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.17, allocations: 15.89 kB / 0.6812 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.17, allocations: 8.891 kB / 0.6812 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1702, allocations: 176.4 kB / 0.6813 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1703, allocations: 8.375 kB / 0.6813 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.1703, allocations: 16.33 kB / 0.6814 GB, free: 10.15 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1705, allocations: 82.2 kB / 0.6814 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1705, allocations: 192 / 0.6814 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1705, allocations: 7.875 kB / 0.6815 GB, free: 10.06 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1705, allocations: 3.938 kB / 0.6815 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.1706, allocations: 47.95 kB / 0.6815 GB, free: 10.01 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1709, allocations: 217.5 kB / 0.6817 GB, free: 9.746 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.1713, allocations: 126.9 kB / 0.6818 GB, free: 9.613 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.1714, allocations: 52.77 kB / 0.6819 GB, free: 9.559 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1715, allocations: 0 / 0.6819 GB, free: 9.559 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1715, allocations: 34.56 kB / 0.6819 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1715, allocations: 0 / 0.6819 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0008078/0.1723, allocations: 315.6 kB / 0.6822 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1723, allocations: 55.41 kB / 0.6823 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.1724, allocations: 105.8 kB / 0.6824 GB, free: 9 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1725, allocations: 29.7 kB / 0.6824 GB, free: 8.965 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.1725, allocations: 84.14 kB / 0.6825 GB, free: 8.879 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.1726, allocations: 55.58 kB / 0.6825 GB, free: 8.824 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.1726, allocations: 41.7 kB / 0.6826 GB, free: 8.777 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1728, allocations: 318.8 kB / 0.6829 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.1729, allocations: 51.95 kB / 0.6829 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.173, allocations: 88.25 kB / 0.683 GB, free: 8.305 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1732, allocations: 148.2 kB / 0.6831 GB, free: 8.145 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1732, allocations: 0 / 0.6831 GB, free: 8.145 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004567/0.1737, allocations: 226.3 kB / 0.6834 GB, free: 7.914 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1737, allocations: 11.94 kB / 0.6834 GB, free: 7.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1737, allocations: 0 / 0.6834 GB, free: 7.902 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.174, allocations: 56.8 kB / 0.6834 GB, free: 7.844 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1741, allocations: 35.92 kB / 0.6835 GB, free: 7.809 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.1758, allocations: 1.588 MB / 0.685 GB, free: 6.074 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1759, allocations: 7.984 kB / 0.685 GB, free: 6.066 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1759, allocations: 8 kB / 0.685 GB, free: 6.059 MB / 0.5139 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.0001227/0.176, allocations: 133.6 kB / 0.6852 GB, free: 5.918 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.176, allocations: 0 / 0.6852 GB, free: 5.918 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.1761, allocations: 19.97 kB / 0.6852 GB, free: 5.902 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1761, allocations: 4.062 kB / 0.6852 GB, free: 5.898 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1761, allocations: 0 / 0.6852 GB, free: 5.898 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1761, allocations: 4.312 kB / 0.6852 GB, free: 5.895 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1763, allocations: 209.5 kB / 0.6854 GB, free: 5.641 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1763, allocations: 0 / 0.6854 GB, free: 5.641 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.1765, allocations: 31.98 kB / 0.6854 GB, free: 5.609 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.1768, allocations: 60.78 kB / 0.6855 GB, free: 5.547 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1768, allocations: 11.98 kB / 0.6855 GB, free: 5.535 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.1783, allocations: 1.582 MB / 0.687 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1783, allocations: 0 / 0.687 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.1788, allocations: 261.7 kB / 0.6873 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.1789, allocations: 84.98 kB / 0.6874 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1789, allocations: 11.98 kB / 0.6874 GB, free: 3.426 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.1789, allocations: 0 / 0.6874 GB, free: 3.426 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.179, allocations: 11.98 kB / 0.6874 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.179, allocations: 7.938 kB / 0.6874 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.179, allocations: 79.28 kB / 0.6875 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.179, allocations: 0 / 0.6875 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002393/0.1793, allocations: 28 kB / 0.6875 GB, free: 3.301 MB / 0.5139 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.0001226/0.1794, allocations: 111.7 kB / 0.6876 GB, free: 3.18 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.1799, allocations: 251.1 kB / 0.6878 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1799, allocations: 4 kB / 0.6878 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.1802, allocations: 186.8 kB / 0.688 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.1804, allocations: 2.344 kB / 0.688 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1814, allocations: 0.6686 MB / 0.6887 GB, free: 2.027 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1818, allocations: 0.704 MB / 0.6894 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.302e-05/0.1819, allocations: 32.52 kB / 0.6894 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1819, allocations: 11.44 kB / 0.6894 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of SimCode: time 5.61e-07/0.1819, allocations: 0 / 0.6894 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of Templates: time 0.004382/0.1863, allocations: 1.378 MB / 0.6907 GB, free: 15.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/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: 6.4661084823310375]