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.0008965/0.0008966, allocations: 93.92 kB / 16.65 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.001046/0.001046, allocations: 175.9 kB / 17.56 MB, free: 6.18 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.331/1.331, 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.032/1.032, allocations: 120.5 MB / 413.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 12.23 kB / 0.4949 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5367, allocations: 82.83 MB / 0.5758 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001208/0.538, allocations: 0.929 MB / 0.5767 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.5382, allocations: 40.7 kB / 0.5767 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.5382, allocations: 0 / 0.5767 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.333e-05/0.5383, allocations: 3.938 kB / 0.5767 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.5384, allocations: 6.172 kB / 0.5767 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.5386, allocations: 16.31 kB / 0.5768 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.5387, allocations: 83.66 kB / 0.5768 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.5388, allocations: 5.109 kB / 0.5768 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.5388, allocations: 21.06 kB / 0.5769 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.5389, allocations: 36.66 kB / 0.5769 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.5389, allocations: 3.406 kB / 0.5769 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.5389, allocations: 2.25 kB / 0.5769 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.539, allocations: 23.33 kB / 0.5769 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.5391, allocations: 45.64 kB / 0.577 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.969e-05/0.5391, allocations: 29.89 kB / 0.577 GB, free: 40.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5391, allocations: 1.062 kB / 0.577 GB, free: 40.66 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5391, allocations: 0 / 0.577 GB, free: 40.66 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.5392, allocations: 0 / 0.577 GB, free: 40.66 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.5396, allocations: 369.2 kB / 0.5773 GB, free: 40.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5397, allocations: 9.594 kB / 0.5774 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.5397, allocations: 4.031 kB / 0.5774 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.5399, allocations: 175.5 kB / 0.5775 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5399, allocations: 10.27 kB / 0.5775 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5399, allocations: 14.84 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.5401, allocations: 73.27 kB / 0.5776 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5401, allocations: 4.125 kB / 0.5776 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5401, allocations: 9.344 kB / 0.5776 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5401, allocations: 1.344 kB / 0.5776 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.5402, allocations: 31.84 kB / 0.5777 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.5404, allocations: 179.5 kB / 0.5778 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5405, allocations: 70.14 kB / 0.5779 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.5406, allocations: 31.34 kB / 0.5779 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.5406, allocations: 1.094 kB / 0.5779 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.5406, allocations: 35.59 kB / 0.578 GB, free: 39.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.5406, allocations: 3.938 kB / 0.578 GB, free: 39.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002376/0.5409, allocations: 116.2 kB / 0.5781 GB, free: 39.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.5409, allocations: 52.56 kB / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.5409, allocations: 102.2 kB / 0.5782 GB, free: 39.4 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.541, allocations: 26.77 kB / 0.5783 GB, free: 39.37 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.541, allocations: 85.17 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.541, allocations: 35.86 kB / 0.5784 GB, free: 39.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.5411, allocations: 23.08 kB / 0.5784 GB, free: 39.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.5411, allocations: 325.1 kB / 0.5787 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.5412, allocations: 37.41 kB / 0.5787 GB, free: 38.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.5413, allocations: 75.67 kB / 0.5788 GB, free: 38.83 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.5414, allocations: 120.3 kB / 0.5789 GB, free: 38.74 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5414, allocations: 1.781 kB / 0.5789 GB, free: 38.74 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001943/0.5416, allocations: 139.5 kB / 0.5791 GB, free: 38.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5417, allocations: 10.34 kB / 0.5791 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5417, allocations: 1.062 kB / 0.5791 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5417, allocations: 2.25 kB / 0.5791 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.5419, allocations: 39.86 kB / 0.5791 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5419, allocations: 5.344 kB / 0.5791 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.5419, allocations: 10.66 kB / 0.5791 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.542, allocations: 5.25 kB / 0.5791 GB, free: 38.64 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.541e-05/0.542, allocations: 121.6 kB / 0.5792 GB, free: 38.51 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.542, allocations: 6.5 kB / 0.5793 GB, free: 38.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.5421, allocations: 13.25 kB / 0.5793 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5421, allocations: 5.094 kB / 0.5793 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5421, allocations: 0 / 0.5793 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5421, allocations: 4 kB / 0.5793 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.5422, allocations: 183.1 kB / 0.5794 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5422, allocations: 0 / 0.5794 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5424, allocations: 26.42 kB / 0.5795 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5424, allocations: 5.219 kB / 0.5795 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.5425, allocations: 6.469 kB / 0.5795 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5425, allocations: 1.219 kB / 0.5795 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5425, allocations: 3.938 kB / 0.5795 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.5427, allocations: 153.4 kB / 0.5796 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.5427, allocations: 90.92 kB / 0.5797 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5427, allocations: 1.969 kB / 0.5797 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.5428, allocations: 5.906 kB / 0.5797 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.5428, allocations: 5.797 kB / 0.5797 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.5428, allocations: 3.219 kB / 0.5797 GB, free: 38.04 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.037e-05/0.5428, allocations: 81.08 kB / 0.5798 GB, free: 37.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5428, allocations: 3.938 kB / 0.5798 GB, free: 37.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000199/0.543, allocations: 18.38 kB / 0.5798 GB, free: 37.95 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.878e-05/0.5431, allocations: 106.2 kB / 0.5799 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.5433, allocations: 92.05 kB / 0.58 GB, free: 37.81 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5433, allocations: 0 / 0.58 GB, free: 37.81 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.5434, allocations: 33.08 kB / 0.5801 GB, free: 37.8 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.5436, allocations: 11.3 kB / 0.5801 GB, free: 37.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.5444, allocations: 0.7425 MB / 0.5808 GB, free: 37.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.5445, allocations: 0.6918 MB / 0.5815 GB, free: 36.45 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.473e-05/0.5446, allocations: 29.12 kB / 0.5815 GB, free: 36.43 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.5446, allocations: 15.56 kB / 0.5815 GB, free: 36.43 MB / 462.3 MB Notification: Performance of SimCode: time 8.01e-07/0.5446, allocations: 0 / 0.5815 GB, free: 36.43 MB / 462.3 MB Notification: Performance of Templates: time 0.002635/0.5472, allocations: 0.6317 MB / 0.5821 GB, free: 36.14 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/jenkins/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