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.0009256/0.0009257, allocations: 92.39 kB / 17.31 MB, free: 6.535 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.0009896/0.0009897, allocations: 182.2 kB / 18.21 MB, free: 5.676 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.453/1.453, allocations: 223.3 MB / 242.3 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.249/1.249, allocations: 120.5 MB / 413.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6319/0.6323, allocations: 82.84 MB / 0.5764 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001191/0.6335, allocations: 0.9334 MB / 0.5773 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001811/0.6337, allocations: 34.73 kB / 0.5774 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.6338, allocations: 0 / 0.5774 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.685e-05/0.6339, allocations: 7.922 kB / 0.5774 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.6339, allocations: 5.781 kB / 0.5774 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.6341, allocations: 17.41 kB / 0.5774 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.6342, allocations: 87.06 kB / 0.5775 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.6343, allocations: 5.297 kB / 0.5775 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.6343, allocations: 24.75 kB / 0.5775 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.6344, allocations: 32.69 kB / 0.5775 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.6344, allocations: 2.75 kB / 0.5776 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.6345, allocations: 2.75 kB / 0.5776 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.6345, allocations: 18.84 kB / 0.5776 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.6346, allocations: 49.81 kB / 0.5776 GB, free: 41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.368e-05/0.6346, allocations: 20.34 kB / 0.5776 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6346, allocations: 4 kB / 0.5776 GB, free: 40.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6346, allocations: 0 / 0.5776 GB, free: 40.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.6346, allocations: 0 / 0.5776 GB, free: 40.99 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.0004312/0.6351, allocations: 360.8 kB / 0.578 GB, free: 40.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6351, allocations: 9.438 kB / 0.578 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.6352, allocations: 4.938 kB / 0.578 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6353, allocations: 172.3 kB / 0.5782 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6353, allocations: 13.48 kB / 0.5782 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.6353, allocations: 9.656 kB / 0.5782 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.6355, allocations: 73.7 kB / 0.5783 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6355, allocations: 5.219 kB / 0.5783 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6355, allocations: 3.938 kB / 0.5783 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6355, allocations: 1.062 kB / 0.5783 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.6356, allocations: 33.16 kB / 0.5783 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.6358, allocations: 179.4 kB / 0.5785 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.6359, allocations: 77.53 kB / 0.5785 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.636, allocations: 32.62 kB / 0.5786 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.636, allocations: 0 / 0.5786 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.636, allocations: 32.16 kB / 0.5786 GB, free: 40 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.636, allocations: 0 / 0.5786 GB, free: 40 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002389/0.6363, allocations: 116.2 kB / 0.5787 GB, free: 39.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.6363, allocations: 52.47 kB / 0.5788 GB, free: 39.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.6364, allocations: 106.1 kB / 0.5789 GB, free: 39.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.6364, allocations: 26.89 kB / 0.5789 GB, free: 39.72 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.6364, allocations: 89.28 kB / 0.579 GB, free: 39.63 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.6365, allocations: 39.61 kB / 0.579 GB, free: 39.6 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.6365, allocations: 19.22 kB / 0.579 GB, free: 39.58 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.6366, allocations: 321.2 kB / 0.5793 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.6367, allocations: 37.38 kB / 0.5794 GB, free: 39.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.6367, allocations: 76.36 kB / 0.5794 GB, free: 39.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.6369, allocations: 120.8 kB / 0.5796 GB, free: 39.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6369, allocations: 0 / 0.5796 GB, free: 39.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001872/0.6371, allocations: 145.6 kB / 0.5797 GB, free: 39.01 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6371, allocations: 8.812 kB / 0.5797 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6371, allocations: 1.312 kB / 0.5797 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6371, allocations: 2.531 kB / 0.5797 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.6373, allocations: 39.02 kB / 0.5798 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6373, allocations: 2.812 kB / 0.5798 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.6374, allocations: 10.31 kB / 0.5798 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.6374, allocations: 4.938 kB / 0.5798 GB, free: 38.99 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 7.358e-05/0.6375, allocations: 123.1 kB / 0.5799 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.6375, allocations: 9.344 kB / 0.5799 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.6375, allocations: 11.97 kB / 0.5799 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6375, allocations: 1.594 kB / 0.5799 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6376, allocations: 0 / 0.5799 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6376, allocations: 1.094 kB / 0.5799 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.6377, allocations: 177.5 kB / 0.5801 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6377, allocations: 5.797 kB / 0.5801 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.6379, allocations: 26.2 kB / 0.5801 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6379, allocations: 3.938 kB / 0.5801 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.6379, allocations: 3.031 kB / 0.5801 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6379, allocations: 9.656 kB / 0.5801 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6379, allocations: 0 / 0.5801 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6381, allocations: 153.9 kB / 0.5803 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.6381, allocations: 90.34 kB / 0.5804 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.6382, allocations: 10.67 kB / 0.5804 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.6382, allocations: 1.375 kB / 0.5804 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.6382, allocations: 10.73 kB / 0.5804 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6382, allocations: 6.688 kB / 0.5804 GB, free: 38.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.014e-05/0.6383, allocations: 80.66 kB / 0.5805 GB, free: 38.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6383, allocations: 1.375 kB / 0.5805 GB, free: 38.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001944/0.6385, allocations: 16.38 kB / 0.5805 GB, free: 38.29 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.287e-05/0.6386, allocations: 103.7 kB / 0.5806 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.6387, allocations: 86.83 kB / 0.5807 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6387, allocations: 1.375 kB / 0.5807 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.6388, allocations: 36.8 kB / 0.5807 GB, free: 38.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.639, allocations: 15.5 kB / 0.5807 GB, free: 38.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008979/0.6399, allocations: 0.7665 MB / 0.5815 GB, free: 37.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.6401, allocations: 0.697 MB / 0.5821 GB, free: 36.76 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.6401, allocations: 11.56 kB / 0.5822 GB, free: 36.75 MB / 462.3 MB Notification: Performance of SimCode: time 3.51e-07/0.6401, allocations: 0 / 0.5822 GB, free: 36.75 MB / 462.3 MB Notification: Performance of Templates: time 0.002903/0.643, allocations: 0.9602 MB / 0.5831 GB, free: 36.29 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