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.001029/0.001029, allocations: 94.94 kB / 17.31 MB, free: 5.59 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.0009691/0.0009691, allocations: 182.1 kB / 18.21 MB, free: 5.191 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.45/1.45, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.116/1.116, allocations: 120.5 MB / 413.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5916, allocations: 82.84 MB / 0.5764 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001259/0.5929, allocations: 0.9253 MB / 0.5773 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.5931, allocations: 45.81 kB / 0.5774 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.5931, allocations: 0 / 0.5774 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.567e-05/0.5932, allocations: 5.438 kB / 0.5774 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.5933, allocations: 9.516 kB / 0.5774 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.5935, allocations: 12.55 kB / 0.5774 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.5936, allocations: 86.55 kB / 0.5775 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.5937, allocations: 6.031 kB / 0.5775 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.5937, allocations: 24.55 kB / 0.5775 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.5938, allocations: 33.45 kB / 0.5775 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.5938, allocations: 1.719 kB / 0.5775 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.5939, allocations: 2.969 kB / 0.5775 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.5939, allocations: 14.64 kB / 0.5776 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.594, allocations: 53.91 kB / 0.5776 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.137e-05/0.594, allocations: 25.39 kB / 0.5776 GB, free: 41.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.594, allocations: 0 / 0.5776 GB, free: 41.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.114e-06/0.594, allocations: 0 / 0.5776 GB, free: 41.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.5941, allocations: 0 / 0.5776 GB, free: 41.25 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.0004739/0.5945, allocations: 360.5 kB / 0.578 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5946, allocations: 12.91 kB / 0.578 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.5946, allocations: 12.52 kB / 0.578 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.5947, allocations: 171.6 kB / 0.5782 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5948, allocations: 4.344 kB / 0.5782 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.5948, allocations: 12.62 kB / 0.5782 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.595, allocations: 64.59 kB / 0.5782 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.595, allocations: 9.469 kB / 0.5783 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.595, allocations: 5.312 kB / 0.5783 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.595, allocations: 1.531 kB / 0.5783 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.5951, allocations: 28.28 kB / 0.5783 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.5953, allocations: 190.1 kB / 0.5785 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.5954, allocations: 70.17 kB / 0.5785 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.5954, allocations: 27.97 kB / 0.5786 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.5955, allocations: 5.375 kB / 0.5786 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.5955, allocations: 31.94 kB / 0.5786 GB, free: 40.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.5955, allocations: 0 / 0.5786 GB, free: 40.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.000232/0.5957, allocations: 119.2 kB / 0.5787 GB, free: 40.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.5958, allocations: 60.78 kB / 0.5788 GB, free: 40.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.5958, allocations: 97.97 kB / 0.5789 GB, free: 40.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5958, allocations: 31.08 kB / 0.5789 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.5959, allocations: 85.45 kB / 0.579 GB, free: 39.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.5959, allocations: 39.58 kB / 0.579 GB, free: 39.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.596, allocations: 23.2 kB / 0.579 GB, free: 39.83 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.596, allocations: 317.6 kB / 0.5793 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.5961, allocations: 36.59 kB / 0.5794 GB, free: 39.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.5962, allocations: 74.39 kB / 0.5794 GB, free: 39.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.5963, allocations: 113.7 kB / 0.5796 GB, free: 39.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5963, allocations: 0 / 0.5796 GB, free: 39.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001903/0.5965, allocations: 153.5 kB / 0.5797 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5965, allocations: 9.219 kB / 0.5797 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5965, allocations: 5.094 kB / 0.5797 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5966, allocations: 2.281 kB / 0.5797 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.5967, allocations: 35.02 kB / 0.5797 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5967, allocations: 1.969 kB / 0.5798 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.5968, allocations: 15.59 kB / 0.5798 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.5968, allocations: 3.906 kB / 0.5798 GB, free: 39.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.893e-05/0.5969, allocations: 122.4 kB / 0.5799 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.5969, allocations: 6.219 kB / 0.5799 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.5969, allocations: 17.7 kB / 0.5799 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5969, allocations: 0 / 0.5799 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.597, allocations: 0.875 kB / 0.5799 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.597, allocations: 0 / 0.5799 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.5971, allocations: 183 kB / 0.5801 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5971, allocations: 0 / 0.5801 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.5973, allocations: 30.39 kB / 0.5801 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5973, allocations: 9.375 kB / 0.5801 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5973, allocations: 2.469 kB / 0.5801 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5973, allocations: 1.656 kB / 0.5801 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5973, allocations: 0 / 0.5801 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.5975, allocations: 150.7 kB / 0.5803 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.5975, allocations: 90.41 kB / 0.5804 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5976, allocations: 2.719 kB / 0.5804 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.5976, allocations: 1.562 kB / 0.5804 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.5976, allocations: 14.55 kB / 0.5804 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.5976, allocations: 2.844 kB / 0.5804 GB, free: 38.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.5977, allocations: 80.66 kB / 0.5805 GB, free: 38.56 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5977, allocations: 3.938 kB / 0.5805 GB, free: 38.56 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001943/0.5979, allocations: 14.34 kB / 0.5805 GB, free: 38.56 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.381e-05/0.598, allocations: 110.4 kB / 0.5806 GB, free: 38.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.5981, allocations: 83.42 kB / 0.5807 GB, free: 38.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5981, allocations: 5.719 kB / 0.5807 GB, free: 38.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.5982, allocations: 32.14 kB / 0.5807 GB, free: 38.41 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.5984, allocations: 11.53 kB / 0.5807 GB, free: 38.4 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.5992, allocations: 0.7719 MB / 0.5815 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.5994, allocations: 0.6957 MB / 0.5821 GB, free: 37.02 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.5994, allocations: 12.94 kB / 0.5821 GB, free: 37.02 MB / 462.3 MB Notification: Performance of SimCode: time 4.11e-07/0.5994, allocations: 0 / 0.5821 GB, free: 37.02 MB / 462.3 MB Notification: Performance of Templates: time 0.00264/0.6021, allocations: 0.9632 MB / 0.5831 GB, free: 36.54 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/jenkins1/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