Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009843/0.0009843, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001064/0.001064, allocations: 183.9 kB / 17.21 MB, free: 6.336 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.45/1.45, allocations: 223.3 MB / 241.2 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.901/0.901, allocations: 120.5 MB / 412.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8 kB / 0.4943 GB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1997, allocations: 82.85 MB / 0.5752 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001367/0.2011, allocations: 0.9182 MB / 0.5761 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001872/0.2014, allocations: 39.89 kB / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.2014, allocations: 0 / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.2015, allocations: 0 / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.2015, allocations: 3.938 kB / 0.5761 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.2017, allocations: 23.97 kB / 0.5761 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2018, allocations: 71.8 kB / 0.5762 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.2019, allocations: 7.984 kB / 0.5762 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.202, allocations: 19.98 kB / 0.5762 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.202, allocations: 27.91 kB / 0.5762 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2021, allocations: 8 kB / 0.5763 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.2021, allocations: 4 kB / 0.5763 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.2021, allocations: 19.95 kB / 0.5763 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.2022, allocations: 33.7 kB / 0.5763 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.382e-05/0.2022, allocations: 19.97 kB / 0.5763 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2022, allocations: 0 / 0.5763 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2022, allocations: 3.938 kB / 0.5763 GB, free: 6.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2023, allocations: 3.938 kB / 0.5763 GB, free: 6.863 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.0005376/0.2028, allocations: 363.5 kB / 0.5767 GB, free: 6.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2028, allocations: 8.031 kB / 0.5767 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.2029, allocations: 7.953 kB / 0.5767 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.2031, allocations: 171.1 kB / 0.5769 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2031, allocations: 4 kB / 0.5769 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.2031, allocations: 23.89 kB / 0.5769 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2033, allocations: 61.66 kB / 0.5769 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2033, allocations: 4 kB / 0.5769 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2033, allocations: 0 / 0.5769 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2033, allocations: 4 kB / 0.577 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.2034, allocations: 39.86 kB / 0.577 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.2036, allocations: 189.6 kB / 0.5772 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2037, allocations: 70.52 kB / 0.5772 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.2038, allocations: 32.84 kB / 0.5773 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.2038, allocations: 0 / 0.5773 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2039, allocations: 38.56 kB / 0.5773 GB, free: 5.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.2039, allocations: 0 / 0.5773 GB, free: 5.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002506/0.2041, allocations: 117.8 kB / 0.5774 GB, free: 5.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2042, allocations: 55.41 kB / 0.5775 GB, free: 5.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.2042, allocations: 105.8 kB / 0.5776 GB, free: 5.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2043, allocations: 25.7 kB / 0.5776 GB, free: 5.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.2043, allocations: 84.14 kB / 0.5777 GB, free: 5.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.2043, allocations: 31.78 kB / 0.5777 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.2044, allocations: 4 kB / 0.5777 GB, free: 5.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2045, allocations: 318.8 kB / 0.578 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.2046, allocations: 39.97 kB / 0.5781 GB, free: 4.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.2047, allocations: 72.27 kB / 0.5781 GB, free: 4.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/0.2048, allocations: 51.89 kB / 0.5782 GB, free: 4.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2048, allocations: 4 kB / 0.5782 GB, free: 4.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002074/0.205, allocations: 145.5 kB / 0.5783 GB, free: 4.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.205, allocations: 4 kB / 0.5783 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.205, allocations: 4 kB / 0.5783 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.205, allocations: 0 / 0.5783 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2052, allocations: 35.92 kB / 0.5784 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2052, allocations: 4 kB / 0.5784 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.2053, allocations: 3.906 kB / 0.5784 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2053, allocations: 11.95 kB / 0.5784 GB, free: 4.535 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 0.0001004/0.2054, allocations: 133.8 kB / 0.5785 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.2054, allocations: 0 / 0.5785 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.2055, allocations: 7.969 kB / 0.5785 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2055, allocations: 4 kB / 0.5785 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2055, allocations: 3.938 kB / 0.5785 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2055, allocations: 0 / 0.5785 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2056, allocations: 181.6 kB / 0.5787 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2057, allocations: 0 / 0.5787 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.2058, allocations: 31.98 kB / 0.5787 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2058, allocations: 4 kB / 0.5787 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2059, allocations: 4 kB / 0.5787 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2059, allocations: 0 / 0.5787 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2059, allocations: 0 / 0.5787 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.2061, allocations: 165.6 kB / 0.5789 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.2062, allocations: 85.05 kB / 0.579 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.2062, allocations: 4 kB / 0.579 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.2062, allocations: 4 kB / 0.579 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.2063, allocations: 7.984 kB / 0.579 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2063, allocations: 8 kB / 0.579 GB, free: 3.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.2063, allocations: 75.28 kB / 0.5791 GB, free: 3.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2063, allocations: 0 / 0.5791 GB, free: 3.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.2065, allocations: 20 kB / 0.5791 GB, free: 3.711 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.0001055/0.2066, allocations: 103.2 kB / 0.5792 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.2068, allocations: 84.08 kB / 0.5793 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2068, allocations: 4.062 kB / 0.5793 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.2069, allocations: 35.92 kB / 0.5793 GB, free: 3.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2071, allocations: 3.953 kB / 0.5793 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.2081, allocations: 0.7483 MB / 0.58 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.2084, allocations: 0.7004 MB / 0.5807 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.2084, allocations: 24.64 kB / 0.5807 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.2085, allocations: 11.44 kB / 0.5808 GB, free: 1.938 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2085, allocations: 0 / 0.5808 GB, free: 1.938 MB / 446.1 MB Notification: Performance of Templates: time 0.002639/0.2111, allocations: 0.6074 MB / 0.5813 GB, free: 1.363 MB / 446.1 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches