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.001666/0.001666, allocations: 112.2 kB / 17.06 MB, free: 5.973 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.001824/0.001824, allocations: 200 kB / 18.01 MB, free: 5.055 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.035/1.035, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 61.58 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1865, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.003529/0.1901, allocations: 1.196 MB / 0.6509 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.1904, allocations: 39.83 kB / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.1905, allocations: 0 / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1906, allocations: 3.984 kB / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.1907, allocations: 15.92 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.191, allocations: 15.97 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1912, allocations: 71.86 kB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.1913, allocations: 4 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.1913, allocations: 19.98 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1915, allocations: 31.89 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1915, allocations: 4 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.1915, allocations: 4 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1916, allocations: 15.98 kB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.1917, allocations: 19.92 kB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1919, allocations: 39.83 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1919, allocations: 0 / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.755e-06/0.1919, allocations: 0 / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1919, allocations: 0 / 0.6511 GB, free: 11.59 MB / 0.4983 GB 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.0009136/0.1929, allocations: 371.5 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1929, allocations: 15.89 kB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.193, allocations: 8.844 kB / 0.6515 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1933, allocations: 176.2 kB / 0.6517 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1933, allocations: 8.312 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.1934, allocations: 8.375 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1936, allocations: 66.22 kB / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1937, allocations: 4.125 kB / 0.6518 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1937, allocations: 15.92 kB / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1937, allocations: 4 kB / 0.6518 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1939, allocations: 27.97 kB / 0.6518 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1942, allocations: 189.5 kB / 0.652 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1945, allocations: 70.48 kB / 0.6521 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1946, allocations: 32.84 kB / 0.6521 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1947, allocations: 0 / 0.6521 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.1947, allocations: 42.56 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 2.063e-06/0.1947, allocations: 0 / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0004547/0.1952, allocations: 109.6 kB / 0.6522 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.1953, allocations: 51.41 kB / 0.6523 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1954, allocations: 97.86 kB / 0.6524 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1955, allocations: 33.7 kB / 0.6524 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1956, allocations: 84.08 kB / 0.6525 GB, free: 10 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.1956, allocations: 39.45 kB / 0.6525 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.1958, allocations: 33.7 kB / 0.6526 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.196, allocations: 326.8 kB / 0.6529 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1961, allocations: 31.98 kB / 0.6529 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1963, allocations: 72.25 kB / 0.653 GB, free: 9.477 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.1966, allocations: 120.8 kB / 0.6531 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1966, allocations: 0 / 0.6531 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004289/0.1971, allocations: 149.7 kB / 0.6532 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1971, allocations: 7.938 kB / 0.6532 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1971, allocations: 0 / 0.6532 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.1972, allocations: 4 kB / 0.6532 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.1975, allocations: 31.98 kB / 0.6533 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1975, allocations: 8.188 kB / 0.6533 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1976, allocations: 15.92 kB / 0.6533 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1977, allocations: 4 kB / 0.6533 GB, free: 9.121 MB / 0.4983 GB 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 0.0002184/0.1979, allocations: 122.6 kB / 0.6534 GB, free: 8.992 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.198, allocations: 11.84 kB / 0.6534 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.198, allocations: 11.97 kB / 0.6534 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1981, allocations: 3.984 kB / 0.6534 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1981, allocations: 0 / 0.6534 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1981, allocations: 4 kB / 0.6534 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1984, allocations: 181.7 kB / 0.6536 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1984, allocations: 0 / 0.6536 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.1988, allocations: 23.98 kB / 0.6536 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.1988, allocations: 7.938 kB / 0.6536 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.1989, allocations: 3.984 kB / 0.6537 GB, free: 8.695 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.1989, allocations: 4 kB / 0.6537 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1989, allocations: 7.875 kB / 0.6537 GB, free: 8.684 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.1993, allocations: 145 kB / 0.6538 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1994, allocations: 88.95 kB / 0.6539 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.1994, allocations: 4 kB / 0.6539 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.1995, allocations: 3.984 kB / 0.6539 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1996, allocations: 4 kB / 0.6539 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1996, allocations: 0 / 0.6539 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.1997, allocations: 87.27 kB / 0.654 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.51e-07/0.1997, allocations: 0 / 0.654 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0004087/0.2001, allocations: 16 kB / 0.654 GB, free: 8.305 MB / 0.4983 GB 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 0.0001765/0.2003, allocations: 108 kB / 0.6541 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.2007, allocations: 87.83 kB / 0.6542 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2007, allocations: 0 / 0.6542 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2008, allocations: 31.98 kB / 0.6542 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.2011, allocations: 15.92 kB / 0.6542 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.2029, allocations: 0.624 MB / 0.6548 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.2033, allocations: 0.6961 MB / 0.6555 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.2035, allocations: 24.64 kB / 0.6555 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.2036, allocations: 11.44 kB / 0.6556 GB, free: 6.652 MB / 0.4983 GB Notification: Performance of SimCode: time 5.741e-06/0.2036, allocations: 4 kB / 0.6556 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of Templates: time 0.005154/0.2087, allocations: 0.6754 MB / 0.6562 GB, free: 6.008 MB / 0.4983 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches