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.001536/0.001536, allocations: 79.12 kB / 20.49 MB, free: 1.387 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.001801/0.001801, allocations: 163.8 kB / 23.74 MB, free: 4.574 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.51/1.51, allocations: 177.2 MB / 204.1 MB, free: 9.285 MB / 190.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.123/1.123, allocations: 88.07 MB / 348.6 MB, free: 1.898 MB / 318.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.002394/0.002394, allocations: 70.53 kB / 0.5232 GB, free: 8.363 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1923, allocations: 85.85 MB / 0.6071 GB, free: 5.023 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002879/0.1952, allocations: 1.211 MB / 0.6082 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.1955, allocations: 43.88 kB / 0.6083 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.1955, allocations: 0 / 0.6083 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.358e-05/0.1956, allocations: 3.938 kB / 0.6083 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.201e-05/0.1957, allocations: 6.656 kB / 0.6083 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1959, allocations: 23.95 kB / 0.6083 GB, free: 3.73 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.196, allocations: 63.88 kB / 0.6084 GB, free: 3.668 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.1961, allocations: 7.938 kB / 0.6084 GB, free: 3.66 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.1962, allocations: 39.89 kB / 0.6084 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.1963, allocations: 23.97 kB / 0.6085 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1963, allocations: 0 / 0.6085 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.1963, allocations: 7.938 kB / 0.6085 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1963, allocations: 27.91 kB / 0.6085 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.1964, allocations: 19.92 kB / 0.6085 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1965, allocations: 35.84 kB / 0.6085 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1965, allocations: 0 / 0.6085 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1965, allocations: 0 / 0.6085 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1965, allocations: 0 / 0.6085 GB, free: 3.508 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.0006112/0.1971, allocations: 298.2 kB / 0.6088 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1972, allocations: 16.03 kB / 0.6088 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1972, allocations: 4.938 kB / 0.6088 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1974, allocations: 114.9 kB / 0.609 GB, free: 3.027 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1974, allocations: 384 / 0.609 GB, free: 3.027 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.1974, allocations: 16.33 kB / 0.609 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1976, allocations: 66.16 kB / 0.609 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1976, allocations: 4.188 kB / 0.609 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1976, allocations: 7.938 kB / 0.609 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1976, allocations: 0 / 0.609 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.1977, allocations: 27.97 kB / 0.6091 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.198, allocations: 133.2 kB / 0.6092 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1981, allocations: 70.55 kB / 0.6093 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.1982, allocations: 32.84 kB / 0.6093 GB, free: 2.629 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1982, allocations: 0 / 0.6093 GB, free: 2.629 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.1982, allocations: 34.5 kB / 0.6093 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.1982, allocations: 0 / 0.6093 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003022/0.1985, allocations: 121.8 kB / 0.6094 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1986, allocations: 51.41 kB / 0.6095 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.1987, allocations: 101.8 kB / 0.6096 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1987, allocations: 29.7 kB / 0.6096 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.1987, allocations: 88.08 kB / 0.6097 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.1988, allocations: 35.75 kB / 0.6097 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.1989, allocations: 41.7 kB / 0.6098 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.199, allocations: 314.8 kB / 0.6101 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.1991, allocations: 39.97 kB / 0.6101 GB, free: 1.727 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1992, allocations: 76.14 kB / 0.6102 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1994, allocations: 116.2 kB / 0.6103 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1994, allocations: 0 / 0.6103 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002451/0.1996, allocations: 149.5 kB / 0.6104 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1996, allocations: 8 kB / 0.6104 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1996, allocations: 3.938 kB / 0.6105 GB, free: 1.344 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1997, allocations: 0 / 0.6105 GB, free: 1.344 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.1998, allocations: 35.92 kB / 0.6105 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1999, allocations: 4 kB / 0.6105 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.1999, allocations: 7.938 kB / 0.6105 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1999, allocations: 8 kB / 0.6105 GB, free: 1.289 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.0001134/0.2, allocations: 129.8 kB / 0.6106 GB, free: 1.152 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.2, allocations: 3.953 kB / 0.6106 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.2001, allocations: 16.06 kB / 0.6106 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2001, allocations: 0 / 0.6106 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2001, allocations: 4 kB / 0.6107 GB, free: 1.125 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2001, allocations: 0 / 0.6107 GB, free: 1.125 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.2002, allocations: 133.2 kB / 0.6108 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2002, allocations: 0 / 0.6108 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.2004, allocations: 27.98 kB / 0.6108 GB, free: 0.9375 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2004, allocations: 192 / 0.6108 GB, free: 0.9375 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2005, allocations: 8 kB / 0.6108 GB, free: 0.9297 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2005, allocations: 7.938 kB / 0.6108 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2005, allocations: 0 / 0.6108 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.2007, allocations: 153.4 kB / 0.611 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.2007, allocations: 7.953 kB / 0.611 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.2008, allocations: 7.938 kB / 0.611 GB, free: 0.7383 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.2008, allocations: 4 kB / 0.611 GB, free: 0.7344 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.2008, allocations: 11.92 kB / 0.611 GB, free: 0.7227 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.2008, allocations: 0 / 0.611 GB, free: 0.7227 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2009, allocations: 83.27 kB / 0.6111 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.6111 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002125/0.2011, allocations: 16 kB / 0.6111 GB, free: 0.625 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.0001069/0.2012, allocations: 99.25 kB / 0.6112 GB, free: 0.5195 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.2014, allocations: 80.05 kB / 0.6113 GB, free: 452 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2014, allocations: 0 / 0.6113 GB, free: 452 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.2015, allocations: 44.06 kB / 0.6113 GB, free: 408 kB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2017, allocations: 4 kB / 0.6113 GB, free: 404 kB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2027, allocations: 0.5994 MB / 0.6119 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.507e-05/0.2028, allocations: 87.31 kB / 0.612 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.828e-05/0.2028, allocations: 24.7 kB / 0.612 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2029, allocations: 12.5 kB / 0.612 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of SimCode: time 4.01e-07/0.2029, allocations: 0 / 0.612 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of Templates: time 0.003413/0.2063, allocations: 0.6347 MB / 0.6126 GB, free: 15.03 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/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.0334386974573135]