Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001548/0.001548, allocations: 112 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.001633/0.001633, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.384/1.384, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.058/1.058, allocations: 120.6 MB / 428.3 MB, free: 5.582 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 0.5989 GB, free: 16.84 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1805, allocations: 84.68 MB / 0.6816 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002999/0.1835, allocations: 1.214 MB / 0.6828 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.1838, allocations: 38.62 kB / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.1838, allocations: 0 / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1839, allocations: 7.984 kB / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.184, allocations: 7.922 kB / 0.6828 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1842, allocations: 15.97 kB / 0.6829 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1844, allocations: 79.86 kB / 0.6829 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.774e-05/0.1845, allocations: 3.984 kB / 0.6829 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.1845, allocations: 23.98 kB / 0.683 GB, free: 10.55 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.1846, allocations: 27.91 kB / 0.683 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.1847, allocations: 4 kB / 0.683 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.1847, allocations: 0 / 0.683 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.1847, allocations: 19.97 kB / 0.683 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.1848, allocations: 19.92 kB / 0.683 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1849, allocations: 35.83 kB / 0.6831 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.1849, allocations: 7.938 kB / 0.6831 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.295e-06/0.1849, allocations: 0 / 0.6831 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.185, allocations: 11.88 kB / 0.6831 GB, free: 10.42 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.0007316/0.1857, allocations: 293.2 kB / 0.6834 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1857, allocations: 12.03 kB / 0.6834 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.1858, allocations: 8.891 kB / 0.6834 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.186, allocations: 118.9 kB / 0.6835 GB, free: 9.945 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.186, allocations: 4.375 kB / 0.6835 GB, free: 9.941 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.1861, allocations: 12.38 kB / 0.6835 GB, free: 9.93 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1863, allocations: 62.22 kB / 0.6836 GB, free: 9.863 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1863, allocations: 8.141 kB / 0.6836 GB, free: 9.855 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.1863, allocations: 7.938 kB / 0.6836 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1863, allocations: 0 / 0.6836 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.1864, allocations: 31.91 kB / 0.6836 GB, free: 9.816 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.1867, allocations: 164.6 kB / 0.6838 GB, free: 9.613 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1868, allocations: 66.55 kB / 0.6838 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.1869, allocations: 32.84 kB / 0.6839 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1869, allocations: 0 / 0.6839 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1869, allocations: 42.56 kB / 0.6839 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.1869, allocations: 0 / 0.6839 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002879/0.1872, allocations: 109.5 kB / 0.684 GB, free: 9.34 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1873, allocations: 51.41 kB / 0.6841 GB, free: 9.277 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.1874, allocations: 101.8 kB / 0.6842 GB, free: 9.168 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1874, allocations: 37.7 kB / 0.6842 GB, free: 9.125 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1875, allocations: 80.14 kB / 0.6843 GB, free: 9.043 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1875, allocations: 39.94 kB / 0.6843 GB, free: 9.004 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.1876, allocations: 37.7 kB / 0.6843 GB, free: 8.961 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1877, allocations: 318.8 kB / 0.6847 GB, free: 8.641 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1878, allocations: 39.91 kB / 0.6847 GB, free: 8.602 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.188, allocations: 72.27 kB / 0.6848 GB, free: 8.516 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1882, allocations: 120.2 kB / 0.6849 GB, free: 8.383 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1882, allocations: 3.938 kB / 0.6849 GB, free: 8.379 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002384/0.1884, allocations: 149.9 kB / 0.685 GB, free: 8.227 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1884, allocations: 7.938 kB / 0.685 GB, free: 8.219 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1884, allocations: 0 / 0.685 GB, free: 8.219 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1884, allocations: 4 kB / 0.685 GB, free: 8.215 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1886, allocations: 35.92 kB / 0.6851 GB, free: 8.18 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1886, allocations: 4.062 kB / 0.6851 GB, free: 8.176 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.1887, allocations: 11.95 kB / 0.6851 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.1887, allocations: 4 kB / 0.6851 GB, free: 8.16 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.0001116/0.1888, allocations: 117.8 kB / 0.6852 GB, free: 8.035 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1888, allocations: 15.92 kB / 0.6852 GB, free: 8.02 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.1889, allocations: 16 kB / 0.6852 GB, free: 8 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1889, allocations: 0 / 0.6852 GB, free: 8 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1889, allocations: 0 / 0.6852 GB, free: 8 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1889, allocations: 4 kB / 0.6852 GB, free: 7.996 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.1891, allocations: 156.6 kB / 0.6854 GB, free: 7.801 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1891, allocations: 4.125 kB / 0.6854 GB, free: 7.797 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.1893, allocations: 27.98 kB / 0.6854 GB, free: 7.77 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1893, allocations: 3.938 kB / 0.6854 GB, free: 7.766 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1893, allocations: 3.984 kB / 0.6854 GB, free: 7.762 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1893, allocations: 4 kB / 0.6854 GB, free: 7.758 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1893, allocations: 4 kB / 0.6854 GB, free: 7.754 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1896, allocations: 145 kB / 0.6856 GB, free: 7.594 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.1896, allocations: 7.891 kB / 0.6856 GB, free: 7.586 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1896, allocations: 4 kB / 0.6856 GB, free: 7.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.1896, allocations: 4 kB / 0.6856 GB, free: 7.578 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.1897, allocations: 3.984 kB / 0.6856 GB, free: 7.574 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1897, allocations: 11.94 kB / 0.6856 GB, free: 7.562 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.1897, allocations: 83.27 kB / 0.6857 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1897, allocations: 0 / 0.6857 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002036/0.1899, allocations: 20 kB / 0.6857 GB, free: 7.461 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.0001342/0.1901, allocations: 99.25 kB / 0.6858 GB, free: 7.355 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1903, allocations: 79.89 kB / 0.6859 GB, free: 7.277 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1903, allocations: 0 / 0.6859 GB, free: 7.277 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.1903, allocations: 39.86 kB / 0.6859 GB, free: 7.238 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.1905, allocations: 14.84 kB / 0.6859 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1915, allocations: 0.6071 MB / 0.6865 GB, free: 6.594 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1919, allocations: 0.7 MB / 0.6872 GB, free: 5.867 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.698e-05/0.1919, allocations: 28.64 kB / 0.6872 GB, free: 5.836 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.192, allocations: 11.44 kB / 0.6872 GB, free: 5.824 MB / 0.5139 GB Notification: Performance of SimCode: time 4.71e-07/0.192, allocations: 4 kB / 0.6872 GB, free: 5.82 MB / 0.5139 GB Notification: Performance of Templates: time 0.003478/0.1954, allocations: 0.7278 MB / 0.6879 GB, free: 5.125 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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: 5.8333613853901625]