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.001676/0.001676, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001803/0.001803, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.065/1.065, allocations: 120.6 MB / 434.5 MB, free: 0.6523 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.002044/0.002044, allocations: 67.89 kB / 0.6071 GB, free: 10.3 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2264, allocations: 85.87 MB / 0.691 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.004822/0.2312, allocations: 1.211 MB / 0.6922 GB, free: 2.996 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.2316, allocations: 35.89 kB / 0.6922 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.2316, allocations: 4 kB / 0.6922 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2318, allocations: 0 / 0.6922 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2319, allocations: 7.922 kB / 0.6922 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.2322, allocations: 15.97 kB / 0.6923 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.2325, allocations: 75.8 kB / 0.6923 GB, free: 2.859 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.2326, allocations: 8 kB / 0.6923 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.2327, allocations: 23.97 kB / 0.6924 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.2328, allocations: 23.97 kB / 0.6924 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.2328, allocations: 4 kB / 0.6924 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.2328, allocations: 0 / 0.6924 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.2329, allocations: 23.91 kB / 0.6924 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.233, allocations: 19.92 kB / 0.6924 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2331, allocations: 39.83 kB / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2332, allocations: 0 / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2332, allocations: 0 / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.2332, allocations: 0 / 0.6925 GB, free: 2.719 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.0009139/0.2341, allocations: 298.3 kB / 0.6927 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.713e-05/0.2341, allocations: 8.031 kB / 0.6928 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.2342, allocations: 8.922 kB / 0.6928 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.2345, allocations: 118.9 kB / 0.6929 GB, free: 2.238 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.2345, allocations: 4.375 kB / 0.6929 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.2346, allocations: 16.31 kB / 0.6929 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2348, allocations: 78.14 kB / 0.693 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.2349, allocations: 8.172 kB / 0.693 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2349, allocations: 3.938 kB / 0.693 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2349, allocations: 0 / 0.693 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.235, allocations: 27.97 kB / 0.693 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.2353, allocations: 129.2 kB / 0.6931 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.2354, allocations: 70.48 kB / 0.6932 GB, free: 1.863 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.2355, allocations: 32.84 kB / 0.6932 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2355, allocations: 0 / 0.6932 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.2356, allocations: 38.55 kB / 0.6933 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2356, allocations: 4 kB / 0.6933 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003685/0.2359, allocations: 121.7 kB / 0.6934 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.236, allocations: 59.33 kB / 0.6934 GB, free: 1.582 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2361, allocations: 101.8 kB / 0.6935 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2362, allocations: 33.7 kB / 0.6936 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2363, allocations: 80.14 kB / 0.6936 GB, free: 1.352 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.2363, allocations: 31.75 kB / 0.6937 GB, free: 1.32 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.2364, allocations: 37.72 kB / 0.6937 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.2366, allocations: 322.8 kB / 0.694 GB, free: 0.9531 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.2367, allocations: 39.91 kB / 0.6941 GB, free: 0.9141 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2368, allocations: 72.27 kB / 0.6941 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.2371, allocations: 116.2 kB / 0.6942 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2371, allocations: 0 / 0.6942 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002749/0.2373, allocations: 145.5 kB / 0.6944 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2374, allocations: 11.98 kB / 0.6944 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.2374, allocations: 3.938 kB / 0.6944 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.2374, allocations: 4 kB / 0.6944 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2376, allocations: 32.11 kB / 0.6944 GB, free: 0.5 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.2377, allocations: 7.938 kB / 0.6944 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.2377, allocations: 8 kB / 0.6944 GB, free: 496 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2378, allocations: 4 kB / 0.6944 GB, free: 492 kB / 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.0001287/0.2379, allocations: 113.8 kB / 0.6946 GB, free: 368 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.2379, allocations: 11.94 kB / 0.6946 GB, free: 356 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.238, allocations: 12 kB / 0.6946 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.238, allocations: 0 / 0.6946 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.238, allocations: 0 / 0.6946 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.238, allocations: 0 / 0.6946 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2382, allocations: 133.2 kB / 0.6947 GB, free: 176 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2382, allocations: 0 / 0.6947 GB, free: 176 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2384, allocations: 31.92 kB / 0.6947 GB, free: 144 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2384, allocations: 0 / 0.6947 GB, free: 144 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2384, allocations: 11.98 kB / 0.6947 GB, free: 132 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2384, allocations: 7.875 kB / 0.6948 GB, free: 124 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.2384, allocations: 4 kB / 0.6948 GB, free: 120 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.2387, allocations: 147.5 kB / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.2387, allocations: 3.953 kB / 0.6949 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.2388, allocations: 15.92 kB / 0.6949 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.2388, allocations: 0 / 0.6949 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.2388, allocations: 11.98 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2388, allocations: 0 / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.2389, allocations: 79.47 kB / 0.695 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of sort global known variables: time 5e-08/0.2389, allocations: 0 / 0.695 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002233/0.2391, allocations: 16 kB / 0.695 GB, free: 15.83 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.0001589/0.2393, allocations: 107.2 kB / 0.6951 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2395, allocations: 79.95 kB / 0.6952 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2395, allocations: 4 kB / 0.6952 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.2396, allocations: 36.23 kB / 0.6952 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.2398, allocations: 5.625 kB / 0.6952 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.241, allocations: 0.6186 MB / 0.6958 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.2412, allocations: 79.27 kB / 0.6959 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 8.961e-05/0.2412, allocations: 36.62 kB / 0.696 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.2413, allocations: 11.44 kB / 0.696 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of SimCode: time 8.72e-07/0.2413, allocations: 0 / 0.696 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of Templates: time 0.004167/0.2455, allocations: 0.6748 MB / 0.6966 GB, free: 14.17 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/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: 6.375056121498346]