Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.001889/0.001889, allocations: 110.2 kB / 20.43 MB, free: 1.449 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.002253/0.002253, allocations: 185.8 kB / 23.71 MB, free: 4.684 MB / 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.558/1.558, allocations: 225.6 MB / 252.5 MB, free: 13 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.111/1.111, allocations: 120.6 MB / 428.3 MB, free: 5.512 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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 0.5989 GB, free: 16.8 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1748, allocations: 84.69 MB / 0.6816 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002569/0.1773, allocations: 1.207 MB / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.1775, allocations: 42.62 kB / 0.6828 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.1776, allocations: 4 kB / 0.6828 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.714e-05/0.1777, allocations: 3.984 kB / 0.6828 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.1777, allocations: 3.938 kB / 0.6829 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1779, allocations: 19.95 kB / 0.6829 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1781, allocations: 75.86 kB / 0.6829 GB, free: 10.53 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.1781, allocations: 4 kB / 0.6829 GB, free: 10.53 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.1782, allocations: 19.98 kB / 0.683 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.1783, allocations: 31.89 kB / 0.683 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1783, allocations: 4 kB / 0.683 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.1783, allocations: 0 / 0.683 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1784, allocations: 23.97 kB / 0.683 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1784, allocations: 15.94 kB / 0.683 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1785, allocations: 43.81 kB / 0.6831 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1785, allocations: 0 / 0.6831 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1785, allocations: 3.938 kB / 0.6831 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1785, allocations: 3.938 kB / 0.6831 GB, free: 10.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006009/0.1791, allocations: 298.3 kB / 0.6834 GB, free: 10.06 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1792, allocations: 12.02 kB / 0.6834 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1792, allocations: 8.891 kB / 0.6834 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1794, allocations: 118.9 kB / 0.6835 GB, free: 9.898 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1794, allocations: 4.375 kB / 0.6835 GB, free: 9.895 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1795, allocations: 8.375 kB / 0.6835 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1796, allocations: 70.22 kB / 0.6836 GB, free: 9.812 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1797, allocations: 4.141 kB / 0.6836 GB, free: 9.809 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1797, allocations: 7.922 kB / 0.6836 GB, free: 9.801 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1797, allocations: 0 / 0.6836 GB, free: 9.801 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.1798, allocations: 35.97 kB / 0.6836 GB, free: 9.766 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.18, allocations: 152.7 kB / 0.6838 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1801, allocations: 78.47 kB / 0.6839 GB, free: 9.488 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.1802, allocations: 29.08 kB / 0.6839 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1802, allocations: 0 / 0.6839 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1802, allocations: 34.56 kB / 0.6839 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1802, allocations: 0 / 0.6839 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002874/0.1805, allocations: 117.6 kB / 0.684 GB, free: 9.293 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1806, allocations: 55.41 kB / 0.6841 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.1807, allocations: 101.8 kB / 0.6842 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1807, allocations: 29.7 kB / 0.6842 GB, free: 9.082 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.1807, allocations: 80.14 kB / 0.6843 GB, free: 9 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.1808, allocations: 39.7 kB / 0.6843 GB, free: 8.961 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.1808, allocations: 37.7 kB / 0.6844 GB, free: 8.918 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.181, allocations: 318.8 kB / 0.6847 GB, free: 8.598 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.1811, allocations: 43.91 kB / 0.6847 GB, free: 8.555 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.607e-05/0.1812, allocations: 75.5 kB / 0.6848 GB, free: 8.469 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1814, allocations: 120.1 kB / 0.6849 GB, free: 8.336 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1814, allocations: 0 / 0.6849 GB, free: 8.336 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000224/0.1816, allocations: 149.5 kB / 0.685 GB, free: 8.184 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1816, allocations: 7.938 kB / 0.685 GB, free: 8.176 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1816, allocations: 4 kB / 0.685 GB, free: 8.172 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1816, allocations: 0 / 0.685 GB, free: 8.172 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1818, allocations: 31.98 kB / 0.6851 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1818, allocations: 0 / 0.6851 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.1819, allocations: 16.02 kB / 0.6851 GB, free: 8.125 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.1819, allocations: 8 kB / 0.6851 GB, free: 8.117 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.182, allocations: 121.8 kB / 0.6852 GB, free: 7.988 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.182, allocations: 7.891 kB / 0.6852 GB, free: 7.98 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.1821, allocations: 12.06 kB / 0.6852 GB, free: 7.965 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1821, allocations: 4 kB / 0.6852 GB, free: 7.961 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1821, allocations: 3.938 kB / 0.6852 GB, free: 7.957 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1821, allocations: 0 / 0.6852 GB, free: 7.957 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1822, allocations: 152.7 kB / 0.6854 GB, free: 7.766 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1822, allocations: 3.984 kB / 0.6854 GB, free: 7.762 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.1824, allocations: 31.98 kB / 0.6854 GB, free: 7.73 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1824, allocations: 3.938 kB / 0.6854 GB, free: 7.727 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.1824, allocations: 7.938 kB / 0.6854 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1824, allocations: 400 / 0.6854 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1825, allocations: 0 / 0.6854 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1827, allocations: 149 kB / 0.6856 GB, free: 7.555 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.1827, allocations: 15.88 kB / 0.6856 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1827, allocations: 0 / 0.6856 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.277e-05/0.1828, allocations: 8 kB / 0.6856 GB, free: 7.531 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.1828, allocations: 7.984 kB / 0.6856 GB, free: 7.523 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1828, allocations: 4 kB / 0.6856 GB, free: 7.52 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.1829, allocations: 75.28 kB / 0.6857 GB, free: 7.445 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1829, allocations: 0 / 0.6857 GB, free: 7.445 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002071/0.1831, allocations: 20 kB / 0.6857 GB, free: 7.426 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.1832, allocations: 103.5 kB / 0.6858 GB, free: 7.316 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1834, allocations: 83.89 kB / 0.6859 GB, free: 7.234 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1834, allocations: 3.938 kB / 0.6859 GB, free: 7.23 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.565e-05/0.1835, allocations: 31.98 kB / 0.6859 GB, free: 7.199 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.1837, allocations: 11.94 kB / 0.6859 GB, free: 7.188 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1847, allocations: 0.6189 MB / 0.6865 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.185, allocations: 0.6961 MB / 0.6872 GB, free: 5.82 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.1851, allocations: 32.56 kB / 0.6872 GB, free: 5.785 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1851, allocations: 11.44 kB / 0.6872 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of SimCode: time 4.21e-07/0.1851, allocations: 0 / 0.6872 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of Templates: time 0.003698/0.1888, allocations: 0.7268 MB / 0.688 GB, free: 5.086 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.136473664082587]