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.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_noopt_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_noopt_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.001356/0.001356, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001513/0.001513, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.279/1.279, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9984/0.9984, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.548, allocations: 80.68 MB / 0.5697 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.00237/0.5504, allocations: 1.206 MB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002061/0.5507, allocations: 37.72 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.5507, allocations: 1.281 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.391e-05/0.5508, allocations: 0 / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.5509, allocations: 5.094 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.551, allocations: 16.81 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.5512, allocations: 74.11 kB / 0.571 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.5513, allocations: 3.156 kB / 0.571 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.5513, allocations: 29.06 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.5514, allocations: 23.22 kB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.5514, allocations: 2.812 kB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.5514, allocations: 2.781 kB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.5515, allocations: 19 kB / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.5516, allocations: 28.08 kB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.632e-05/0.5516, allocations: 30.75 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5517, allocations: 0 / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5517, allocations: 0 / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.5517, allocations: 4 kB / 0.5712 GB, free: 42.26 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.0004995/0.5522, allocations: 374.3 kB / 0.5715 GB, free: 41.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5522, allocations: 17.39 kB / 0.5716 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.5523, allocations: 3.969 kB / 0.5716 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.5524, allocations: 172.2 kB / 0.5717 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.5524, allocations: 6.844 kB / 0.5717 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.5525, allocations: 13.25 kB / 0.5717 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5526, allocations: 73.8 kB / 0.5718 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5526, allocations: 1.5 kB / 0.5718 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5527, allocations: 3.938 kB / 0.5718 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5527, allocations: 5.344 kB / 0.5718 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.5527, allocations: 32.73 kB / 0.5719 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.5529, allocations: 187.3 kB / 0.572 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.553, allocations: 70.17 kB / 0.5721 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.5531, allocations: 35.97 kB / 0.5721 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.5531, allocations: 0 / 0.5721 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.5531, allocations: 31.94 kB / 0.5722 GB, free: 41.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.5531, allocations: 0 / 0.5722 GB, free: 41.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.5534, allocations: 123.2 kB / 0.5723 GB, free: 41.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5534, allocations: 52.78 kB / 0.5723 GB, free: 41.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.5535, allocations: 95.36 kB / 0.5724 GB, free: 41.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.5535, allocations: 33.7 kB / 0.5725 GB, free: 40.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.5535, allocations: 85.5 kB / 0.5725 GB, free: 40.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.5536, allocations: 39.61 kB / 0.5726 GB, free: 40.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.5536, allocations: 33.86 kB / 0.5726 GB, free: 40.83 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.5537, allocations: 321.6 kB / 0.5729 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.5537, allocations: 33.58 kB / 0.5729 GB, free: 40.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.571e-05/0.5538, allocations: 73.38 kB / 0.573 GB, free: 40.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.554, allocations: 113.3 kB / 0.5731 GB, free: 40.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.554, allocations: 0 / 0.5731 GB, free: 40.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001969/0.5542, allocations: 149.2 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5542, allocations: 13.81 kB / 0.5733 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5542, allocations: 1.031 kB / 0.5733 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5542, allocations: 1.562 kB / 0.5733 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.5544, allocations: 35.7 kB / 0.5733 GB, free: 40.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5544, allocations: 5.797 kB / 0.5733 GB, free: 40.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.5545, allocations: 15.38 kB / 0.5733 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5545, allocations: 5.062 kB / 0.5733 GB, free: 40.24 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 6.047e-05/0.5545, allocations: 117.7 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.5546, allocations: 10.25 kB / 0.5735 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.5546, allocations: 13.09 kB / 0.5735 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5546, allocations: 5.297 kB / 0.5735 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5546, allocations: 0 / 0.5735 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.5546, allocations: 0 / 0.5735 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.5547, allocations: 182.7 kB / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5547, allocations: 0 / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.5549, allocations: 31.05 kB / 0.5737 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5549, allocations: 3.938 kB / 0.5737 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.5549, allocations: 7.734 kB / 0.5737 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5549, allocations: 0 / 0.5737 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.5549, allocations: 5.484 kB / 0.5737 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.5551, allocations: 150.4 kB / 0.5738 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.5552, allocations: 82.05 kB / 0.5739 GB, free: 39.65 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.5552, allocations: 7.141 kB / 0.5739 GB, free: 39.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.5552, allocations: 5.062 kB / 0.5739 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.5553, allocations: 7.281 kB / 0.5739 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.5553, allocations: 6 kB / 0.5739 GB, free: 39.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.464e-05/0.5553, allocations: 85.17 kB / 0.574 GB, free: 39.55 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5553, allocations: 5.219 kB / 0.574 GB, free: 39.55 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001944/0.5555, allocations: 16.84 kB / 0.574 GB, free: 39.55 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 7.567e-05/0.5556, allocations: 99.94 kB / 0.5741 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.5558, allocations: 99.55 kB / 0.5742 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5558, allocations: 1.406 kB / 0.5742 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.5558, allocations: 36.19 kB / 0.5743 GB, free: 39.4 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.556, allocations: 14.53 kB / 0.5743 GB, free: 39.39 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.5568, allocations: 0.6096 MB / 0.5749 GB, free: 38.87 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.557, allocations: 0.6965 MB / 0.5756 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.5571, allocations: 25.17 kB / 0.5756 GB, free: 38.14 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.5571, allocations: 11.69 kB / 0.5756 GB, free: 38.14 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.5571, allocations: 0 / 0.5756 GB, free: 38.14 MB / 462.3 MB Notification: Performance of Templates: time 0.002774/0.5599, allocations: 0.6439 MB / 0.5762 GB, free: 37.84 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (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) 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) Reference file matches