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.001344/0.001343, allocations: 116.5 kB / 17.69 MB, free: 5.512 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.001524/0.001525, allocations: 191 kB / 18.62 MB, free: 4.582 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.397/1.397, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9472/0.9472, allocations: 119.3 MB / 411.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 75.81 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5035, allocations: 80.68 MB / 0.5711 GB, free: 43.73 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002105/0.5057, allocations: 1.197 MB / 0.5723 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001729/0.5059, allocations: 37 kB / 0.5724 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.5059, allocations: 5.125 kB / 0.5724 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.451e-05/0.506, allocations: 0 / 0.5724 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.5061, allocations: 5.266 kB / 0.5724 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.5062, allocations: 19.97 kB / 0.5724 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.5064, allocations: 75.02 kB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.5064, allocations: 10.62 kB / 0.5725 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.5065, allocations: 21.67 kB / 0.5725 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.5065, allocations: 30.95 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.5065, allocations: 2.75 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.5066, allocations: 2.75 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.5066, allocations: 14.86 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.5067, allocations: 24.11 kB / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.886e-05/0.5067, allocations: 31.02 kB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5067, allocations: 0 / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5068, allocations: 0 / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.5068, allocations: 1.375 kB / 0.5726 GB, free: 42.62 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.0004294/0.5072, allocations: 376.8 kB / 0.5729 GB, free: 42.24 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5072, allocations: 13.48 kB / 0.573 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.5073, allocations: 3.688 kB / 0.573 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.5074, allocations: 172.8 kB / 0.5731 GB, free: 42.04 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5074, allocations: 5.781 kB / 0.5731 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.5075, allocations: 18.92 kB / 0.5731 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.5076, allocations: 76.67 kB / 0.5732 GB, free: 41.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5076, allocations: 1.531 kB / 0.5732 GB, free: 41.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5076, allocations: 7.922 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5076, allocations: 1.438 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.5077, allocations: 32.62 kB / 0.5733 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.5079, allocations: 178.9 kB / 0.5734 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.508, allocations: 66.36 kB / 0.5735 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.508, allocations: 39.75 kB / 0.5735 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.508, allocations: 5.25 kB / 0.5735 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.5081, allocations: 40.23 kB / 0.5736 GB, free: 41.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.5081, allocations: 0 / 0.5736 GB, free: 41.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002263/0.5083, allocations: 114.7 kB / 0.5737 GB, free: 41.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.5083, allocations: 52.88 kB / 0.5737 GB, free: 41.47 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.5084, allocations: 102.7 kB / 0.5738 GB, free: 41.37 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5084, allocations: 25.7 kB / 0.5739 GB, free: 41.34 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.5084, allocations: 90.27 kB / 0.5739 GB, free: 41.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5085, allocations: 31.3 kB / 0.574 GB, free: 41.22 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.5085, allocations: 37.88 kB / 0.574 GB, free: 41.19 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.5086, allocations: 317.6 kB / 0.5743 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.5086, allocations: 36.03 kB / 0.5743 GB, free: 40.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.5087, allocations: 74.33 kB / 0.5744 GB, free: 40.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.5088, allocations: 122.2 kB / 0.5745 GB, free: 40.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5088, allocations: 0 / 0.5745 GB, free: 40.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000185/0.509, allocations: 152.2 kB / 0.5747 GB, free: 40.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5091, allocations: 14.72 kB / 0.5747 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5091, allocations: 4 kB / 0.5747 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5091, allocations: 2.469 kB / 0.5747 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.5093, allocations: 32.14 kB / 0.5747 GB, free: 40.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5093, allocations: 1.562 kB / 0.5747 GB, free: 40.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.5093, allocations: 10.88 kB / 0.5747 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.5093, allocations: 8.281 kB / 0.5748 GB, free: 40.59 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 5.83e-05/0.5094, allocations: 123.1 kB / 0.5749 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.5094, allocations: 5.438 kB / 0.5749 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.5095, allocations: 13.16 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.5095, allocations: 1.219 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5095, allocations: 0 / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5095, allocations: 1.562 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.702e-05/0.5096, allocations: 177.4 kB / 0.5751 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5096, allocations: 0 / 0.5751 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.5098, allocations: 30.89 kB / 0.5751 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5098, allocations: 7.922 kB / 0.5751 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5098, allocations: 3.625 kB / 0.5751 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.5098, allocations: 0 / 0.5751 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5098, allocations: 1.406 kB / 0.5751 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.51, allocations: 150.2 kB / 0.5752 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.51, allocations: 86.48 kB / 0.5753 GB, free: 40.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.5101, allocations: 10.7 kB / 0.5753 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.5101, allocations: 1.25 kB / 0.5753 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.5101, allocations: 6.891 kB / 0.5753 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.5102, allocations: 2.219 kB / 0.5753 GB, free: 40 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.889e-05/0.5102, allocations: 82 kB / 0.5754 GB, free: 39.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5102, allocations: 4 kB / 0.5754 GB, free: 39.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002089/0.5104, allocations: 16.75 kB / 0.5754 GB, free: 39.91 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 7.552e-05/0.5105, allocations: 107.7 kB / 0.5755 GB, free: 39.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.5106, allocations: 88.31 kB / 0.5756 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5107, allocations: 0 / 0.5756 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.5107, allocations: 37.83 kB / 0.5757 GB, free: 39.76 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.5109, allocations: 7.234 kB / 0.5757 GB, free: 39.76 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/0.5116, allocations: 0.6203 MB / 0.5763 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.5117, allocations: 0.6931 MB / 0.577 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.292e-05/0.5118, allocations: 29.27 kB / 0.577 GB, free: 38.5 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.5118, allocations: 10.62 kB / 0.577 GB, free: 38.5 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.5118, allocations: 1.094 kB / 0.577 GB, free: 38.5 MB / 462.3 MB Notification: Performance of Templates: time 0.002613/0.5145, allocations: 0.6461 MB / 0.5776 GB, free: 38.21 MB / 462.3 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches