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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 175.7 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 93.92 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8543/0.8543, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.481e-05, allocations: 0 / 0.5288 GB, free: 1.312 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5047, allocations: 82.84 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.648, allocations: 124.6 MB / 0.7313 GB, free: 368 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001196/0.6482, allocations: 63.89 kB / 0.7314 GB, free: 308 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.002661/0.6508, allocations: 1.013 MB / 0.7324 GB, free: 15.28 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6509, allocations: 0 / 0.7324 GB, free: 15.28 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.6509, allocations: 4 kB / 0.7324 GB, free: 15.28 MB / 0.5419 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.0002974/0.6512, allocations: 338.5 kB / 0.7327 GB, free: 14.9 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6512, allocations: 12.03 kB / 0.7327 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.6513, allocations: 7.859 kB / 0.7327 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.6514, allocations: 171.1 kB / 0.7329 GB, free: 14.68 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.6514, allocations: 8 kB / 0.7329 GB, free: 14.67 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.6515, allocations: 7.938 kB / 0.7329 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.031e-05/0.6516, allocations: 31.97 kB / 0.7329 GB, free: 14.63 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.6517, allocations: 65.59 kB / 0.733 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6517, allocations: 0 / 0.733 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.6517, allocations: 3.953 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6517, allocations: 4 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.6519, allocations: 158.1 kB / 0.7331 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.652, allocations: 70.56 kB / 0.7332 GB, free: 14.28 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.6521, allocations: 28.84 kB / 0.7332 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.6521, allocations: 0 / 0.7332 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6521, allocations: 34.56 kB / 0.7333 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.6521, allocations: 0 / 0.7333 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0001801/0.6523, allocations: 78.05 kB / 0.7334 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.6523, allocations: 59.28 kB / 0.7334 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.6524, allocations: 93 kB / 0.7335 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.6524, allocations: 29.7 kB / 0.7335 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.6525, allocations: 88.12 kB / 0.7336 GB, free: 13.83 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.6525, allocations: 35.47 kB / 0.7336 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.6525, allocations: 0 / 0.7336 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.6526, allocations: 318.8 kB / 0.7339 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-05/0.6527, allocations: 31.98 kB / 0.734 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.6527, allocations: 74.23 kB / 0.734 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.6528, allocations: 44.2 kB / 0.7341 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6528, allocations: 4 kB / 0.7341 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000171/0.653, allocations: 133.4 kB / 0.7342 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.653, allocations: 8 kB / 0.7342 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.653, allocations: 0 / 0.7342 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.653, allocations: 4.125 kB / 0.7342 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.6532, allocations: 35.98 kB / 0.7343 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.6532, allocations: 4 kB / 0.7343 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.6533, allocations: 7.938 kB / 0.7343 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.6533, allocations: 4 kB / 0.7343 GB, free: 13.11 MB / 0.5419 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 () * 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 6.139e-05/0.6533, allocations: 108.9 kB / 0.7344 GB, free: 13 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.6534, allocations: 3.906 kB / 0.7344 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.6534, allocations: 12.41 kB / 0.7344 GB, free: 12.98 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6534, allocations: 0 / 0.7344 GB, free: 12.98 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6534, allocations: 7.984 kB / 0.7344 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6534, allocations: 0 / 0.7344 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6535, allocations: 162.2 kB / 0.7346 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6536, allocations: 0 / 0.7346 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.6537, allocations: 27.98 kB / 0.7346 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6537, allocations: 0 / 0.7346 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6538, allocations: 7.938 kB / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.6538, allocations: 0 / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6538, allocations: 192 / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.654, allocations: 153.4 kB / 0.7347 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.654, allocations: 92.89 kB / 0.7348 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.6541, allocations: 11.92 kB / 0.7348 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.6541, allocations: 0 / 0.7348 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.6541, allocations: 4 kB / 0.7348 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.6541, allocations: 3.984 kB / 0.7349 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.6542, allocations: 79.28 kB / 0.7349 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6542, allocations: 0 / 0.7349 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001875/0.6544, allocations: 12 kB / 0.7349 GB, free: 12.36 MB / 0.5419 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 () * 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.0001108/0.6545, allocations: 103.2 kB / 0.735 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.6546, allocations: 79.91 kB / 0.7351 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6546, allocations: 0 / 0.7351 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.6547, allocations: 35.92 kB / 0.7351 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.6548, allocations: 0 / 0.7351 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.6556, allocations: 0.6064 MB / 0.7357 GB, free: 11.5 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.6558, allocations: 0.6963 MB / 0.7364 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.6559, allocations: 24.64 kB / 0.7364 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.6559, allocations: 15.42 kB / 0.7365 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of SimCode: time 3.41e-07/0.6559, allocations: 0 / 0.7365 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of Templates: time 0.00206/0.658, allocations: 0.5897 MB / 0.737 GB, free: 10.18 MB / 0.5419 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/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