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.001395/0.001395, allocations: 76.41 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001149/0.001149, allocations: 170.1 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9751/0.9751, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.6586/0.6586, allocations: 88.08 MB / 349.9 MB, free: 14.16 MB / 330.7 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.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.775e-05, allocations: 7.719 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002022/0.00204, allocations: 1.24 MB / 453.3 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001852/0.002225, allocations: 34.44 kB / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.002266, allocations: 0 / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.828e-05/0.002354, allocations: 3.375 kB / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.002421, allocations: 2.969 kB / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.002587, allocations: 20.59 kB / 453.3 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.002712, allocations: 86.39 kB / 453.4 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.002752, allocations: 3.25 kB / 453.4 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.002814, allocations: 31.64 kB / 453.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.002881, allocations: 25.81 kB / 453.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.002903, allocations: 2.938 kB / 453.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.002917, allocations: 2.938 kB / 453.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.00296, allocations: 24.12 kB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.002998, allocations: 16.09 kB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.158e-05/0.003079, allocations: 28.44 kB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003083, allocations: 6.969 kB / 453.5 MB, free: 32.17 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003083, allocations: 0 / 453.5 MB, free: 32.17 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003087, allocations: 0 / 453.5 MB, free: 32.17 MB / 410.8 MB 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.0003571/0.003444, allocations: 382.3 kB / 453.9 MB, free: 31.8 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.003489, allocations: 11.72 kB / 453.9 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.003523, allocations: 3.906 kB / 453.9 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.003629, allocations: 131.7 kB / 454.1 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.003641, allocations: 3.344 kB / 454.1 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.00367, allocations: 25.27 kB / 454.1 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.52e-05/0.003755, allocations: 45.84 kB / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.003764, allocations: 3 kB / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.003773, allocations: 4.375 kB / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.003781, allocations: 7.422 kB / 454.1 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.003822, allocations: 21.23 kB / 454.2 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.00395, allocations: 111.4 kB / 454.3 MB, free: 31.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/0.004034, allocations: 55.97 kB / 454.3 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.004061, allocations: 23.55 kB / 454.4 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.00407, allocations: 0 / 454.4 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004091, allocations: 40.27 kB / 454.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.004092, allocations: 0 / 454.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001736/0.004265, allocations: 78.38 kB / 454.5 MB, free: 31.32 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.004288, allocations: 58.16 kB / 454.5 MB, free: 31.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.00434, allocations: 162.5 kB / 454.7 MB, free: 31.09 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004349, allocations: 29.7 kB / 454.7 MB, free: 31.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.004375, allocations: 130.9 kB / 454.8 MB, free: 30.92 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.004417, allocations: 36.75 kB / 454.9 MB, free: 30.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.004462, allocations: 42.25 kB / 454.9 MB, free: 30.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.004526, allocations: 0.4941 MB / 455.4 MB, free: 30.36 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.004552, allocations: 16.38 kB / 455.4 MB, free: 30.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.004604, allocations: 67.16 kB / 455.5 MB, free: 30.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.004689, allocations: 91.58 kB / 455.6 MB, free: 30.2 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.004692, allocations: 0 / 455.6 MB, free: 30.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001347/0.004826, allocations: 105 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.004839, allocations: 2.906 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.004845, allocations: 2.844 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.004859, allocations: 2.875 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.005004, allocations: 28.33 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.00501, allocations: 6.969 kB / 455.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.005052, allocations: 18.78 kB / 455.8 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.005061, allocations: 2.875 kB / 455.8 MB, free: 30.13 MB / 410.8 MB 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.483e-05/0.005126, allocations: 163.3 kB / 455.9 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.005139, allocations: 6.859 kB / 455.9 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.005179, allocations: 18.31 kB / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005181, allocations: 0 / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.005183, allocations: 0 / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.005187, allocations: 3.938 kB / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.005273, allocations: 105.6 kB / 456 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005275, allocations: 2.781 kB / 456 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.005419, allocations: 31.75 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005421, allocations: 0 / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.005439, allocations: 6.25 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.005442, allocations: 3.938 kB / 456.1 MB, free: 29.81 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005443, allocations: 2.844 kB / 456.1 MB, free: 29.81 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.005619, allocations: 132.5 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.005629, allocations: 10.77 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.005644, allocations: 0 / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.00567, allocations: 6.969 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.005687, allocations: 3.375 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.005691, allocations: 6.938 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.005717, allocations: 133.5 kB / 456.4 MB, free: 29.57 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.005717, allocations: 0 / 456.4 MB, free: 29.57 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002235/0.00594, allocations: 19.81 kB / 456.4 MB, free: 29.57 MB / 410.8 MB 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 7.685e-05/0.006017, allocations: 98.28 kB / 456.5 MB, free: 29.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.006131, allocations: 64.59 kB / 456.6 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006133, allocations: 0 / 456.6 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.006164, allocations: 27.92 kB / 456.6 MB, free: 29.44 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.006334, allocations: 10.72 kB / 456.6 MB, free: 29.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.006898, allocations: 440.3 kB / 457 MB, free: 29.08 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.006932, allocations: 71.73 kB / 457.1 MB, free: 29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.006966, allocations: 10.62 kB / 457.1 MB, free: 28.99 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.007016, allocations: 74.33 kB / 457.2 MB, free: 28.93 MB / 410.8 MB Notification: Performance of SimCode: time 1.012e-06/0.007017, allocations: 0 / 457.2 MB, free: 28.93 MB / 410.8 MB Notification: Performance of Templates: time 0.002715/0.009733, allocations: 0.7101 MB / 457.9 MB, free: 28.86 MB / 410.8 MB " [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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6023570806719363]