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.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.001339/0.001339, allocations: 109.9 kB / 20.43 MB, free: 1.461 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.001463/0.001463, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.06/1.06, allocations: 120.6 MB / 434.5 MB, free: 0.8516 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.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: 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.002117/0.002117, allocations: 68.19 kB / 0.6072 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1744, allocations: 85.86 MB / 0.6911 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002704/0.1771, allocations: 1.219 MB / 0.6923 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.1773, allocations: 51.8 kB / 0.6923 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1773, allocations: 0 / 0.6923 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.602e-05/0.1774, allocations: 0 / 0.6923 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.1775, allocations: 11.92 kB / 0.6923 GB, free: 3.102 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1777, allocations: 15.97 kB / 0.6924 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1779, allocations: 75.86 kB / 0.6924 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.1779, allocations: 0 / 0.6924 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.178, allocations: 27.91 kB / 0.6925 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.178, allocations: 23.97 kB / 0.6925 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1781, allocations: 8 kB / 0.6925 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.1781, allocations: 4 kB / 0.6925 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.1781, allocations: 19.91 kB / 0.6925 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1782, allocations: 23.92 kB / 0.6925 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.1783, allocations: 31.84 kB / 0.6926 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1783, allocations: 0 / 0.6926 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1783, allocations: 3.938 kB / 0.6926 GB, free: 2.871 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1783, allocations: 4 kB / 0.6926 GB, free: 2.867 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.0006183/0.1789, allocations: 298.2 kB / 0.6928 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.179, allocations: 8.031 kB / 0.6929 GB, free: 2.535 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.179, allocations: 4.938 kB / 0.6929 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1792, allocations: 114.9 kB / 0.693 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1792, allocations: 4.375 kB / 0.693 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.1792, allocations: 12.33 kB / 0.693 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1794, allocations: 74.19 kB / 0.6931 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1794, allocations: 192 / 0.6931 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1794, allocations: 11.94 kB / 0.6931 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1794, allocations: 4 kB / 0.6931 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.1795, allocations: 31.91 kB / 0.6931 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.1798, allocations: 156.7 kB / 0.6933 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1799, allocations: 66.55 kB / 0.6933 GB, free: 1.984 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.18, allocations: 28.84 kB / 0.6933 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.18, allocations: 4 kB / 0.6933 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.18, allocations: 38.56 kB / 0.6934 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.18, allocations: 0 / 0.6934 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002878/0.1803, allocations: 125.6 kB / 0.6935 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1804, allocations: 55.41 kB / 0.6936 GB, free: 1.707 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.1804, allocations: 97.86 kB / 0.6937 GB, free: 1.602 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1805, allocations: 33.69 kB / 0.6937 GB, free: 1.562 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1805, allocations: 80.14 kB / 0.6938 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.1806, allocations: 35.75 kB / 0.6938 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.1806, allocations: 37.72 kB / 0.6938 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1808, allocations: 322.8 kB / 0.6941 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.1808, allocations: 43.84 kB / 0.6942 GB, free: 1.035 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.1809, allocations: 72.27 kB / 0.6942 GB, free: 0.9492 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1811, allocations: 112.2 kB / 0.6944 GB, free: 0.8242 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1811, allocations: 0 / 0.6944 GB, free: 0.8242 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002375/0.1813, allocations: 149.7 kB / 0.6945 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1814, allocations: 7.938 kB / 0.6945 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1814, allocations: 4 kB / 0.6945 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1814, allocations: 3.984 kB / 0.6945 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1816, allocations: 44.03 kB / 0.6946 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1816, allocations: 4 kB / 0.6946 GB, free: 0.6094 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.1816, allocations: 8 kB / 0.6946 GB, free: 0.6016 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1817, allocations: 4 kB / 0.6946 GB, free: 0.5977 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.0001052/0.1818, allocations: 113.8 kB / 0.6947 GB, free: 488 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1818, allocations: 7.891 kB / 0.6947 GB, free: 480 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1818, allocations: 20.05 kB / 0.6947 GB, free: 456 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1818, allocations: 0 / 0.6947 GB, free: 456 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1818, allocations: 0 / 0.6947 GB, free: 456 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1819, allocations: 4 kB / 0.6947 GB, free: 452 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.182, allocations: 156.6 kB / 0.6949 GB, free: 252 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.182, allocations: 4 kB / 0.6949 GB, free: 248 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1822, allocations: 27.98 kB / 0.6949 GB, free: 220 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1822, allocations: 3.938 kB / 0.6949 GB, free: 216 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1822, allocations: 7.984 kB / 0.6949 GB, free: 208 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1822, allocations: 0 / 0.6949 GB, free: 208 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1822, allocations: 0 / 0.6949 GB, free: 208 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1825, allocations: 149.5 kB / 0.695 GB, free: 40 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.1825, allocations: 11.89 kB / 0.6951 GB, free: 28 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1825, allocations: 7.984 kB / 0.6951 GB, free: 20 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.1826, allocations: 0 / 0.6951 GB, free: 20 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.1826, allocations: 11.92 kB / 0.6951 GB, free: 8 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1826, allocations: 4 kB / 0.6951 GB, free: 4 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.1827, allocations: 79.28 kB / 0.6952 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1827, allocations: 0 / 0.6952 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000209/0.1829, allocations: 16 kB / 0.6952 GB, free: 15.91 MB / 0.5295 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.0001147/0.183, allocations: 99.25 kB / 0.6953 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1832, allocations: 84.11 kB / 0.6953 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1832, allocations: 0 / 0.6953 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.738e-05/0.1832, allocations: 40.06 kB / 0.6954 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.1834, allocations: 8.094 kB / 0.6954 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1844, allocations: 0.6228 MB / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1848, allocations: 0.7001 MB / 0.6967 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.1848, allocations: 24.64 kB / 0.6967 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1849, allocations: 15.44 kB / 0.6967 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of SimCode: time 3.01e-07/0.1849, allocations: 0 / 0.6967 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of Templates: time 0.003812/0.1887, allocations: 0.7252 MB / 0.6974 GB, free: 13.57 MB / 0.5295 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/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.031392520992085]