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.001575/0.001575, allocations: 113 kB / 18.49 MB, free: 4.539 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.001873/0.001873, allocations: 215 kB / 21.45 MB, free: 1.59 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.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.22 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 0.7565/0.7565, allocations: 120.6 MB / 431.5 MB, free: 184 kB / 350.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.002242/0.002242, allocations: 63.91 kB / 0.6027 GB, free: 11.02 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.629, allocations: 85.82 MB / 0.6865 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002215/0.6312, allocations: 1.213 MB / 0.6877 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.6315, allocations: 33.16 kB / 0.6877 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.6315, allocations: 0.9375 kB / 0.6877 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.435e-05/0.6316, allocations: 3.938 kB / 0.6877 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.6317, allocations: 5.844 kB / 0.6877 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.6318, allocations: 23.58 kB / 0.6878 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.632, allocations: 67.88 kB / 0.6878 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.632, allocations: 12.81 kB / 0.6878 GB, free: 10.4 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.6321, allocations: 29.75 kB / 0.6879 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.6322, allocations: 23.97 kB / 0.6879 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.6322, allocations: 2.75 kB / 0.6879 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.6322, allocations: 2.781 kB / 0.6879 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.6322, allocations: 18.41 kB / 0.6879 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.6323, allocations: 24.17 kB / 0.6879 GB, free: 10.35 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.846e-05/0.6324, allocations: 31.11 kB / 0.688 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6324, allocations: 3.984 kB / 0.688 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6324, allocations: 0.9375 kB / 0.688 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.6324, allocations: 4 kB / 0.688 GB, free: 10.33 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.0005177/0.6329, allocations: 367.3 kB / 0.6883 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6329, allocations: 10.12 kB / 0.6883 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.633, allocations: 3.719 kB / 0.6883 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.6331, allocations: 183.7 kB / 0.6885 GB, free: 9.742 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.6331, allocations: 3.156 kB / 0.6885 GB, free: 9.742 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.6332, allocations: 21.84 kB / 0.6885 GB, free: 9.727 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.6333, allocations: 68.59 kB / 0.6886 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6333, allocations: 2.031 kB / 0.6886 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6333, allocations: 3.938 kB / 0.6886 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6334, allocations: 0.9375 kB / 0.6886 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.6334, allocations: 33.5 kB / 0.6886 GB, free: 9.652 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.6336, allocations: 182.2 kB / 0.6888 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.6337, allocations: 70.22 kB / 0.6889 GB, free: 9.395 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.6338, allocations: 38.95 kB / 0.6889 GB, free: 9.367 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.6338, allocations: 1.125 kB / 0.6889 GB, free: 9.367 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.6338, allocations: 35.53 kB / 0.689 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.6338, allocations: 0 / 0.689 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002564/0.6341, allocations: 119.1 kB / 0.6891 GB, free: 9.25 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.6341, allocations: 52.5 kB / 0.6891 GB, free: 9.188 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.6341, allocations: 106.2 kB / 0.6892 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.6342, allocations: 30.98 kB / 0.6893 GB, free: 9.043 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.725e-05/0.6342, allocations: 85.52 kB / 0.6893 GB, free: 8.957 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.6342, allocations: 35.5 kB / 0.6894 GB, free: 8.926 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.6343, allocations: 34.09 kB / 0.6894 GB, free: 8.898 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.6343, allocations: 317 kB / 0.6897 GB, free: 8.582 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.6344, allocations: 37.62 kB / 0.6897 GB, free: 8.566 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.6344, allocations: 78.02 kB / 0.6898 GB, free: 8.5 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.6346, allocations: 116.8 kB / 0.6899 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.6346, allocations: 1.125 kB / 0.6899 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002007/0.6348, allocations: 148.9 kB / 0.6901 GB, free: 8.332 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6348, allocations: 9.219 kB / 0.6901 GB, free: 8.328 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6348, allocations: 8.938 kB / 0.6901 GB, free: 8.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.6348, allocations: 2.406 kB / 0.6901 GB, free: 8.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.635, allocations: 31.89 kB / 0.6901 GB, free: 8.316 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.635, allocations: 1.125 kB / 0.6901 GB, free: 8.316 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.6351, allocations: 12.39 kB / 0.6901 GB, free: 8.309 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6351, allocations: 7.5 kB / 0.6901 GB, free: 8.305 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 6.018e-05/0.6351, allocations: 124.9 kB / 0.6903 GB, free: 8.18 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.6352, allocations: 14.11 kB / 0.6903 GB, free: 8.168 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.6352, allocations: 7.969 kB / 0.6903 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6352, allocations: 2.156 kB / 0.6903 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6352, allocations: 0 / 0.6903 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6352, allocations: 0 / 0.6903 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.925e-05/0.6353, allocations: 179.3 kB / 0.6905 GB, free: 7.945 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6353, allocations: 0 / 0.6905 GB, free: 7.945 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.6355, allocations: 33.97 kB / 0.6905 GB, free: 7.934 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.6355, allocations: 5.156 kB / 0.6905 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.6355, allocations: 2.719 kB / 0.6905 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6355, allocations: 0 / 0.6905 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6355, allocations: 5.406 kB / 0.6905 GB, free: 7.926 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.6357, allocations: 145.9 kB / 0.6906 GB, free: 7.82 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.6357, allocations: 86.16 kB / 0.6907 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.6358, allocations: 10.62 kB / 0.6907 GB, free: 7.711 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.6358, allocations: 1.344 kB / 0.6907 GB, free: 7.711 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.6358, allocations: 10.73 kB / 0.6907 GB, free: 7.703 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.6358, allocations: 2.812 kB / 0.6907 GB, free: 7.703 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.6359, allocations: 81.84 kB / 0.6908 GB, free: 7.625 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.6359, allocations: 0 / 0.6908 GB, free: 7.625 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002043/0.6361, allocations: 17.19 kB / 0.6908 GB, free: 7.621 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 8.525e-05/0.6361, allocations: 103.5 kB / 0.6909 GB, free: 7.527 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.6363, allocations: 80.39 kB / 0.691 GB, free: 7.496 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6363, allocations: 0 / 0.691 GB, free: 7.496 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.6364, allocations: 37.23 kB / 0.691 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.6366, allocations: 14.56 kB / 0.6911 GB, free: 7.469 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.6374, allocations: 0.6165 MB / 0.6917 GB, free: 6.945 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.6375, allocations: 0.6915 MB / 0.6923 GB, free: 6.242 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 7.773e-05/0.6376, allocations: 33.03 kB / 0.6924 GB, free: 6.223 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.6376, allocations: 11.25 kB / 0.6924 GB, free: 6.215 MB / 0.5139 GB Notification: Performance of SimCode: time 4.51e-07/0.6376, allocations: 0 / 0.6924 GB, free: 6.215 MB / 0.5139 GB Notification: Performance of Templates: time 0.003184/0.6408, allocations: 0.6878 MB / 0.6931 GB, free: 5.895 MB / 0.5139 GB " [Timeout remaining time 299] 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: 5.8924700459465384]