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.0009642/0.0009642, allocations: 93.19 kB / 16.65 MB, free: 6.598 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.00108/0.001081, allocations: 180.3 kB / 17.56 MB, free: 6.199 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.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.09/1.09, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 11.98 kB / 0.4949 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5651, allocations: 82.84 MB / 0.5758 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001224/0.5664, allocations: 0.9264 MB / 0.5767 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.5666, allocations: 41.19 kB / 0.5767 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.5667, allocations: 1.156 kB / 0.5767 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.359e-05/0.5668, allocations: 0.7812 kB / 0.5768 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.5668, allocations: 6.453 kB / 0.5768 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.567, allocations: 19.36 kB / 0.5768 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.5671, allocations: 91.83 kB / 0.5769 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.5672, allocations: 1.125 kB / 0.5769 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.5672, allocations: 21.06 kB / 0.5769 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.5673, allocations: 29.52 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.5674, allocations: 2.062 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.5674, allocations: 3.031 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.5674, allocations: 18.25 kB / 0.5769 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.5675, allocations: 46.45 kB / 0.577 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.999e-05/0.5676, allocations: 38.31 kB / 0.577 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5676, allocations: 4 kB / 0.577 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5676, allocations: 0 / 0.577 GB, free: 40.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.5676, allocations: 1.281 kB / 0.577 GB, free: 40.4 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.0004335/0.568, allocations: 360.2 kB / 0.5774 GB, free: 40.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5681, allocations: 8.812 kB / 0.5774 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.5681, allocations: 8.125 kB / 0.5774 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5682, allocations: 172.1 kB / 0.5775 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5683, allocations: 6.656 kB / 0.5776 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.5683, allocations: 18.31 kB / 0.5776 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5684, allocations: 65.09 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5685, allocations: 1.344 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5685, allocations: 7.938 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5685, allocations: 1.062 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.5686, allocations: 29.66 kB / 0.5777 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.5687, allocations: 190 kB / 0.5778 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.5689, allocations: 70.98 kB / 0.5779 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.5689, allocations: 35.66 kB / 0.578 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.569, allocations: 1.188 kB / 0.578 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.569, allocations: 35.94 kB / 0.578 GB, free: 39.4 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.569, allocations: 0 / 0.578 GB, free: 39.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002361/0.5692, allocations: 106.7 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.5693, allocations: 52.38 kB / 0.5781 GB, free: 39.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.5693, allocations: 102.7 kB / 0.5782 GB, free: 39.17 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.5693, allocations: 34.73 kB / 0.5783 GB, free: 39.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.5694, allocations: 81.2 kB / 0.5783 GB, free: 39.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.5694, allocations: 39.36 kB / 0.5784 GB, free: 39.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.5694, allocations: 28.42 kB / 0.5784 GB, free: 38.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.5695, allocations: 312.2 kB / 0.5787 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.5696, allocations: 45.62 kB / 0.5788 GB, free: 38.65 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.5697, allocations: 75.67 kB / 0.5788 GB, free: 38.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.5698, allocations: 112.3 kB / 0.5789 GB, free: 38.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5698, allocations: 1.125 kB / 0.5789 GB, free: 38.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001996/0.57, allocations: 157 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.57, allocations: 9.062 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5701, allocations: 1.609 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5701, allocations: 2.438 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.5703, allocations: 31.61 kB / 0.5791 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5703, allocations: 6.266 kB / 0.5791 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.5703, allocations: 15 kB / 0.5791 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.5704, allocations: 3.719 kB / 0.5791 GB, free: 38.39 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.596e-05/0.5704, allocations: 122.6 kB / 0.5793 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.5704, allocations: 10.66 kB / 0.5793 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.5705, allocations: 11.95 kB / 0.5793 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5705, allocations: 5.281 kB / 0.5793 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5705, allocations: 1.312 kB / 0.5793 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5705, allocations: 0 / 0.5793 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.5706, allocations: 178.8 kB / 0.5795 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5706, allocations: 0 / 0.5795 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.5708, allocations: 30.17 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5708, allocations: 5.094 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.5708, allocations: 2.094 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5709, allocations: 1.062 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5709, allocations: 4 kB / 0.5795 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.5711, allocations: 154 kB / 0.5797 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.5711, allocations: 87.05 kB / 0.5797 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.5711, allocations: 7.031 kB / 0.5797 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.5712, allocations: 5.188 kB / 0.5797 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.5712, allocations: 6.266 kB / 0.5798 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.5712, allocations: 6.25 kB / 0.5798 GB, free: 37.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.5712, allocations: 85.62 kB / 0.5798 GB, free: 37.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5713, allocations: 0 / 0.5798 GB, free: 37.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002095/0.5715, allocations: 14.34 kB / 0.5799 GB, free: 37.7 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.751e-05/0.5716, allocations: 106.4 kB / 0.58 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.5717, allocations: 87.92 kB / 0.58 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5717, allocations: 0 / 0.58 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.5718, allocations: 33.48 kB / 0.5801 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.572, allocations: 10.44 kB / 0.5801 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.5728, allocations: 0.7422 MB / 0.5808 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.573, allocations: 0.6957 MB / 0.5815 GB, free: 36.2 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.573, allocations: 28.97 kB / 0.5815 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.5731, allocations: 11.56 kB / 0.5815 GB, free: 36.18 MB / 462.3 MB Notification: Performance of SimCode: time 5.71e-07/0.5731, allocations: 0 / 0.5815 GB, free: 36.18 MB / 462.3 MB Notification: Performance of Templates: time 0.002693/0.5758, allocations: 0.6355 MB / 0.5821 GB, free: 35.89 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches