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.001255/0.001255, allocations: 95.09 kB / 16.3 MB, free: 5.992 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.001135/0.001135, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.378/1.378, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9836/0.9836, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 0.4941 GB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1918, allocations: 82.85 MB / 0.5751 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001329/0.1932, allocations: 0.9182 MB / 0.576 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.1934, allocations: 35.91 kB / 0.576 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.1934, allocations: 0 / 0.576 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.1935, allocations: 0 / 0.576 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.755e-05/0.1936, allocations: 3.938 kB / 0.576 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.1937, allocations: 19.95 kB / 0.576 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1938, allocations: 47.94 kB / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1939, allocations: 0 / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.1939, allocations: 19.98 kB / 0.5761 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.194, allocations: 19.92 kB / 0.5761 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.194, allocations: 8 kB / 0.5761 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.1941, allocations: 4 kB / 0.5761 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.1941, allocations: 15.97 kB / 0.5761 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.1941, allocations: 41.64 kB / 0.5762 GB, free: 7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.471e-05/0.1942, allocations: 19.97 kB / 0.5762 GB, free: 6.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1942, allocations: 4 kB / 0.5762 GB, free: 6.977 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1942, allocations: 3.938 kB / 0.5762 GB, free: 6.973 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1942, allocations: 0 / 0.5762 GB, free: 6.973 MB / 446.1 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.0005037/0.1947, allocations: 363.5 kB / 0.5765 GB, free: 6.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1948, allocations: 8.031 kB / 0.5765 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1948, allocations: 11.95 kB / 0.5766 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.195, allocations: 171 kB / 0.5767 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.195, allocations: 4 kB / 0.5767 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1951, allocations: 15.91 kB / 0.5767 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1952, allocations: 61.66 kB / 0.5768 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1952, allocations: 0 / 0.5768 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1953, allocations: 8 kB / 0.5768 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1953, allocations: 4 kB / 0.5768 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.1953, allocations: 35.92 kB / 0.5768 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1956, allocations: 189.6 kB / 0.577 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1957, allocations: 70.48 kB / 0.5771 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1957, allocations: 4 kB / 0.5771 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1958, allocations: 34.56 kB / 0.5771 GB, free: 5.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1958, allocations: 0 / 0.5771 GB, free: 5.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002505/0.196, allocations: 113.9 kB / 0.5772 GB, free: 5.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1961, allocations: 55.41 kB / 0.5773 GB, free: 5.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.1961, allocations: 101.8 kB / 0.5774 GB, free: 5.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1962, allocations: 29.7 kB / 0.5774 GB, free: 5.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1962, allocations: 84.12 kB / 0.5775 GB, free: 5.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1963, allocations: 31.78 kB / 0.5775 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1963, allocations: 8 kB / 0.5775 GB, free: 5.395 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1964, allocations: 322.8 kB / 0.5778 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.1965, allocations: 39.97 kB / 0.5779 GB, free: 5.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.1966, allocations: 72.27 kB / 0.5779 GB, free: 4.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.1967, allocations: 39.98 kB / 0.578 GB, free: 4.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1967, allocations: 3.984 kB / 0.578 GB, free: 4.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002212/0.1969, allocations: 153.4 kB / 0.5781 GB, free: 4.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1969, allocations: 6.188 kB / 0.5781 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1969, allocations: 4 kB / 0.5781 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1969, allocations: 3.984 kB / 0.5781 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1971, allocations: 31.98 kB / 0.5782 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1971, allocations: 7.938 kB / 0.5782 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1972, allocations: 7.906 kB / 0.5782 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1972, allocations: 8 kB / 0.5782 GB, free: 4.68 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.1973, allocations: 125.9 kB / 0.5783 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.1973, allocations: 3.938 kB / 0.5783 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1974, allocations: 15.95 kB / 0.5783 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1974, allocations: 4 kB / 0.5783 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1974, allocations: 0 / 0.5783 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1974, allocations: 192 / 0.5783 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1976, allocations: 181.6 kB / 0.5785 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1976, allocations: 3.984 kB / 0.5785 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1978, allocations: 31.92 kB / 0.5785 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1978, allocations: 0 / 0.5785 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1978, allocations: 11.98 kB / 0.5786 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1978, allocations: 0 / 0.5786 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1978, allocations: 0 / 0.5786 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1981, allocations: 151.9 kB / 0.5787 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1981, allocations: 81.11 kB / 0.5788 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1981, allocations: 3.984 kB / 0.5788 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.1982, allocations: 4 kB / 0.5788 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1982, allocations: 0 / 0.5788 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1982, allocations: 11.98 kB / 0.5788 GB, free: 3.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.1983, allocations: 79.28 kB / 0.5789 GB, free: 3.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1983, allocations: 4 kB / 0.5789 GB, free: 3.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.1985, allocations: 12 kB / 0.5789 GB, free: 3.871 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.1986, allocations: 103.2 kB / 0.579 GB, free: 3.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1988, allocations: 84.52 kB / 0.5791 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1988, allocations: 256 / 0.5791 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.1988, allocations: 40.12 kB / 0.5791 GB, free: 3.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.199, allocations: 7.891 kB / 0.5791 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2, allocations: 0.756 MB / 0.5799 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2004, allocations: 0.7043 MB / 0.5805 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.2005, allocations: 24.64 kB / 0.5806 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.2005, allocations: 11.44 kB / 0.5806 GB, free: 2.082 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2005, allocations: 0 / 0.5806 GB, free: 2.082 MB / 446.1 MB Notification: Performance of Templates: time 0.002782/0.2033, allocations: 0.6056 MB / 0.5812 GB, free: 1.508 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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