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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 103.8 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 195.2 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.011/1.011, allocations: 119.3 MB / 410.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001397, allocations: 59.91 kB / 0.4902 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5441, allocations: 80.68 MB / 0.569 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002028/0.5461, allocations: 1.264 MB / 0.5703 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.5463, allocations: 37.2 kB / 0.5703 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.5463, allocations: 0.9062 kB / 0.5703 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.044e-05/0.5464, allocations: 0 / 0.5703 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.5465, allocations: 14.06 kB / 0.5703 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.5466, allocations: 12.2 kB / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.5467, allocations: 92.34 kB / 0.5704 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.5468, allocations: 5.609 kB / 0.5704 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.5468, allocations: 25.08 kB / 0.5704 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.5469, allocations: 27.27 kB / 0.5705 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.5469, allocations: 2.781 kB / 0.5705 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.5469, allocations: 6.781 kB / 0.5705 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.547, allocations: 15.05 kB / 0.5705 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.547, allocations: 24.17 kB / 0.5705 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.859e-05/0.5471, allocations: 38.69 kB / 0.5706 GB, free: 42.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5471, allocations: 0 / 0.5706 GB, free: 42.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.92e-07/0.5471, allocations: 1.438 kB / 0.5706 GB, free: 42.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.5471, allocations: 0 / 0.5706 GB, free: 42.32 MB / 462.3 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.0004585/0.5476, allocations: 374.4 kB / 0.5709 GB, free: 41.94 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5476, allocations: 9.625 kB / 0.5709 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.5477, allocations: 2.5 kB / 0.5709 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5478, allocations: 179.9 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.5478, allocations: 7.031 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.5478, allocations: 10.69 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.548, allocations: 70.97 kB / 0.5712 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.548, allocations: 1.469 kB / 0.5712 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.548, allocations: 5.25 kB / 0.5712 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.548, allocations: 4 kB / 0.5712 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.464e-05/0.5481, allocations: 30.12 kB / 0.5712 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.5483, allocations: 182 kB / 0.5714 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.5484, allocations: 78.17 kB / 0.5715 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.5484, allocations: 32.12 kB / 0.5715 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.5485, allocations: 5.359 kB / 0.5715 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.5485, allocations: 35.94 kB / 0.5715 GB, free: 41.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.5485, allocations: 0 / 0.5715 GB, free: 41.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002235/0.5487, allocations: 115 kB / 0.5717 GB, free: 41.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.5487, allocations: 52.78 kB / 0.5717 GB, free: 41.19 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.5488, allocations: 101.9 kB / 0.5718 GB, free: 41.08 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5488, allocations: 35.02 kB / 0.5718 GB, free: 41.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.5488, allocations: 80.14 kB / 0.5719 GB, free: 40.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.5489, allocations: 37.05 kB / 0.5719 GB, free: 40.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.5489, allocations: 32.7 kB / 0.572 GB, free: 40.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.549, allocations: 321.6 kB / 0.5723 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.5491, allocations: 37.72 kB / 0.5723 GB, free: 40.57 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.5491, allocations: 71.94 kB / 0.5724 GB, free: 40.51 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5493, allocations: 122.2 kB / 0.5725 GB, free: 40.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5493, allocations: 0 / 0.5725 GB, free: 40.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000185/0.5495, allocations: 153.4 kB / 0.5726 GB, free: 40.33 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5495, allocations: 12.16 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5495, allocations: 1.406 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5495, allocations: 2.5 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.5497, allocations: 31.17 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.5497, allocations: 6.656 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.5498, allocations: 15.41 kB / 0.5727 GB, free: 40.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5498, allocations: 8.375 kB / 0.5727 GB, free: 40.3 MB / 462.3 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 5.801e-05/0.5499, allocations: 117.5 kB / 0.5728 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.5499, allocations: 6.438 kB / 0.5728 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.5499, allocations: 13.28 kB / 0.5729 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5499, allocations: 1.344 kB / 0.5729 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5499, allocations: 0 / 0.5729 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5499, allocations: 0 / 0.5729 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.629e-05/0.55, allocations: 185.9 kB / 0.573 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.55, allocations: 1.344 kB / 0.573 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.5502, allocations: 25.89 kB / 0.5731 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5502, allocations: 5.344 kB / 0.5731 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5502, allocations: 2.781 kB / 0.5731 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5503, allocations: 3.938 kB / 0.5731 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5503, allocations: 1.375 kB / 0.5731 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.5505, allocations: 148.8 kB / 0.5732 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.5505, allocations: 96.14 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.5505, allocations: 1.625 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.5506, allocations: 5.25 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.5506, allocations: 10.52 kB / 0.5733 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5506, allocations: 6.906 kB / 0.5733 GB, free: 39.7 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.978e-05/0.5506, allocations: 77.88 kB / 0.5734 GB, free: 39.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5506, allocations: 0 / 0.5734 GB, free: 39.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001916/0.5508, allocations: 16.94 kB / 0.5734 GB, free: 39.62 MB / 462.3 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 8.063e-05/0.5509, allocations: 111.4 kB / 0.5735 GB, free: 39.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.5511, allocations: 83.05 kB / 0.5736 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5511, allocations: 2 kB / 0.5736 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.5511, allocations: 31.3 kB / 0.5736 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5513, allocations: 11.72 kB / 0.5736 GB, free: 39.47 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007715/0.5521, allocations: 0.6143 MB / 0.5742 GB, free: 38.94 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.5522, allocations: 0.6977 MB / 0.5749 GB, free: 38.23 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.5523, allocations: 28.53 kB / 0.575 GB, free: 38.21 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.5523, allocations: 16.06 kB / 0.575 GB, free: 38.21 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.5523, allocations: 3.938 kB / 0.575 GB, free: 38.2 MB / 462.3 MB Notification: Performance of Templates: time 0.002424/0.5548, allocations: 0.6358 MB / 0.5756 GB, free: 37.91 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches