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.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.001357/0.001357, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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: 209.9 kB / 24.49 MB, free: 4.145 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.091/1.091, allocations: 120.6 MB / 435.3 MB, free: 0.8398 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_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: 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.002027/0.002027, allocations: 67.89 kB / 0.608 GB, free: 10.6 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.196, allocations: 85.86 MB / 0.6918 GB, free: 4.527 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002542/0.1985, allocations: 1.222 MB / 0.693 GB, free: 3.301 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.1987, allocations: 39.88 kB / 0.693 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.1988, allocations: 0 / 0.693 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.1989, allocations: 11.88 kB / 0.6931 GB, free: 3.25 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.1989, allocations: 7.984 kB / 0.6931 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.1991, allocations: 15.97 kB / 0.6931 GB, free: 3.227 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1992, allocations: 71.86 kB / 0.6931 GB, free: 3.156 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1993, allocations: 3.984 kB / 0.6932 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.1993, allocations: 31.86 kB / 0.6932 GB, free: 3.121 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.1994, allocations: 31.95 kB / 0.6932 GB, free: 3.09 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1994, allocations: 4 kB / 0.6932 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1994, allocations: 0 / 0.6932 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1995, allocations: 19.92 kB / 0.6932 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.1995, allocations: 15.94 kB / 0.6933 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.37e-05/0.1996, allocations: 43.81 kB / 0.6933 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1996, allocations: 0 / 0.6933 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1996, allocations: 0 / 0.6933 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1996, allocations: 0 / 0.6933 GB, free: 3.008 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.0005496/0.2002, allocations: 294.2 kB / 0.6936 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2002, allocations: 12.03 kB / 0.6936 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.2003, allocations: 4.938 kB / 0.6936 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.2004, allocations: 118.9 kB / 0.6937 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.2004, allocations: 4.375 kB / 0.6937 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2005, allocations: 16.33 kB / 0.6937 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2006, allocations: 66.16 kB / 0.6938 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2006, allocations: 4.188 kB / 0.6938 GB, free: 2.438 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2007, allocations: 7.922 kB / 0.6938 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2007, allocations: 0 / 0.6938 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.2007, allocations: 31.97 kB / 0.6938 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.201, allocations: 168.6 kB / 0.694 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2011, allocations: 62.55 kB / 0.694 GB, free: 2.121 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.2011, allocations: 32.84 kB / 0.6941 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2012, allocations: 0 / 0.6941 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.2012, allocations: 38.5 kB / 0.6941 GB, free: 2.039 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 7.02e-07/0.2012, allocations: 0 / 0.6941 GB, free: 2.039 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.000265/0.2015, allocations: 117.5 kB / 0.6942 GB, free: 1.918 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.2015, allocations: 55.41 kB / 0.6943 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.2016, allocations: 101.8 kB / 0.6944 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2016, allocations: 29.7 kB / 0.6944 GB, free: 1.707 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.2016, allocations: 84.14 kB / 0.6945 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.2017, allocations: 31.75 kB / 0.6945 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.2018, allocations: 41.7 kB / 0.6946 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2019, allocations: 314.8 kB / 0.6949 GB, free: 1.227 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.202, allocations: 39.91 kB / 0.6949 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.2021, allocations: 76.2 kB / 0.695 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.2022, allocations: 124.4 kB / 0.6951 GB, free: 0.9609 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2022, allocations: 0 / 0.6951 GB, free: 0.9609 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002203/0.2025, allocations: 153.8 kB / 0.6952 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2025, allocations: 7.938 kB / 0.6952 GB, free: 0.7969 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2025, allocations: 80 / 0.6952 GB, free: 0.7969 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2025, allocations: 4 kB / 0.6952 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.2027, allocations: 39.92 kB / 0.6953 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2027, allocations: 3.984 kB / 0.6953 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2027, allocations: 4 kB / 0.6953 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2028, allocations: 11.98 kB / 0.6953 GB, free: 0.7344 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.0001027/0.2029, allocations: 121.9 kB / 0.6954 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.2029, allocations: 11.89 kB / 0.6954 GB, free: 0.5938 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.2029, allocations: 8.062 kB / 0.6954 GB, free: 0.582 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2029, allocations: 0 / 0.6954 GB, free: 0.582 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2029, allocations: 0 / 0.6954 GB, free: 0.582 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2029, allocations: 4 kB / 0.6954 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.2031, allocations: 152.7 kB / 0.6956 GB, free: 396 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2031, allocations: 0 / 0.6956 GB, free: 396 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.2033, allocations: 31.98 kB / 0.6956 GB, free: 364 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2033, allocations: 3.938 kB / 0.6956 GB, free: 360 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2033, allocations: 4 kB / 0.6956 GB, free: 356 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.2033, allocations: 4 kB / 0.6956 GB, free: 352 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2033, allocations: 0 / 0.6956 GB, free: 352 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.2035, allocations: 152.9 kB / 0.6958 GB, free: 180 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.2035, allocations: 7.891 kB / 0.6958 GB, free: 172 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.2036, allocations: 8 kB / 0.6958 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.2036, allocations: 0 / 0.6958 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2036, allocations: 11.98 kB / 0.6958 GB, free: 152 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.2036, allocations: 4 kB / 0.6958 GB, free: 148 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.2037, allocations: 83.27 kB / 0.6959 GB, free: 64 kB / 0.5139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2037, allocations: 0 / 0.6959 GB, free: 64 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002017/0.2039, allocations: 16 kB / 0.6959 GB, free: 48 kB / 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.0001305/0.204, allocations: 95.7 kB / 0.696 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.2042, allocations: 83.89 kB / 0.6961 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2042, allocations: 4.25 kB / 0.6961 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.2043, allocations: 31.92 kB / 0.6961 GB, free: 15.83 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.2045, allocations: 11.88 kB / 0.6961 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2055, allocations: 0.6593 MB / 0.6968 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.2059, allocations: 0.6924 MB / 0.6974 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.2059, allocations: 11.44 kB / 0.6974 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of SimCode: time 5.31e-07/0.2059, allocations: 3.938 kB / 0.6975 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of Templates: time 0.002959/0.2089, allocations: 0.9794 MB / 0.6984 GB, free: 13.42 MB / 0.5295 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/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: 9.005448549985886]