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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 92.92 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8565/0.8565, allocations: 120.5 MB / 463.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 82.85 MB / 0.6242 GB, free: 9.211 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7047/0.8547, allocations: 125.3 MB / 0.7466 GB, free: 8.68 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000111/0.8549, allocations: 46.67 kB / 0.7466 GB, free: 8.66 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.002759/0.8577, allocations: 1.024 MB / 0.7476 GB, free: 7.734 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.996e-06/0.8577, allocations: 0 / 0.7476 GB, free: 7.734 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.8577, allocations: 0 / 0.7476 GB, free: 7.734 MB / 0.5107 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.0004125/0.8581, allocations: 355.9 kB / 0.748 GB, free: 7.344 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8582, allocations: 12.03 kB / 0.748 GB, free: 7.332 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8582, allocations: 7.859 kB / 0.748 GB, free: 7.324 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.8584, allocations: 171.1 kB / 0.7482 GB, free: 7.117 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.8584, allocations: 4 kB / 0.7482 GB, free: 7.113 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.8585, allocations: 7.875 kB / 0.7482 GB, free: 7.109 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.8586, allocations: 69.22 kB / 0.7482 GB, free: 7.047 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.8586, allocations: 7.891 kB / 0.7482 GB, free: 7.039 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8587, allocations: 3.938 kB / 0.7483 GB, free: 7.035 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.8587, allocations: 11.95 kB / 0.7483 GB, free: 7.023 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.8587, allocations: 31.78 kB / 0.7483 GB, free: 6.996 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.859, allocations: 188.2 kB / 0.7485 GB, free: 6.777 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.8591, allocations: 66.17 kB / 0.7485 GB, free: 6.715 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.8591, allocations: 0 / 0.7485 GB, free: 6.715 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8591, allocations: 34.56 kB / 0.7486 GB, free: 6.672 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.8591, allocations: 0 / 0.7486 GB, free: 6.672 MB / 0.5107 GB Notification: Performance of matching and sorting (n=8): time 0.0002469/0.8594, allocations: 116.5 kB / 0.7487 GB, free: 6.566 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.8594, allocations: 55.22 kB / 0.7487 GB, free: 6.504 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.8595, allocations: 92.95 kB / 0.7488 GB, free: 6.406 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.8595, allocations: 33.58 kB / 0.7489 GB, free: 6.371 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.8596, allocations: 80.14 kB / 0.7489 GB, free: 6.289 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.8596, allocations: 39.2 kB / 0.749 GB, free: 6.258 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.8596, allocations: 0 / 0.749 GB, free: 6.258 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8597, allocations: 322.7 kB / 0.7493 GB, free: 5.938 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.8598, allocations: 39.78 kB / 0.7493 GB, free: 5.906 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.8599, allocations: 67.7 kB / 0.7494 GB, free: 5.836 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.86, allocations: 51.44 kB / 0.7494 GB, free: 5.801 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.86, allocations: 0 / 0.7494 GB, free: 5.801 MB / 0.5107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002052/0.8602, allocations: 156.8 kB / 0.7496 GB, free: 5.668 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8602, allocations: 6.656 kB / 0.7496 GB, free: 5.664 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8602, allocations: 400 / 0.7496 GB, free: 5.664 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8603, allocations: 4 kB / 0.7496 GB, free: 5.66 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.8604, allocations: 35.92 kB / 0.7496 GB, free: 5.625 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8605, allocations: 3.984 kB / 0.7496 GB, free: 5.621 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.8605, allocations: 11.56 kB / 0.7496 GB, free: 5.613 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.8605, allocations: 11.14 kB / 0.7496 GB, free: 5.605 MB / 0.5107 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/0.8606, allocations: 121.3 kB / 0.7498 GB, free: 5.48 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.8606, allocations: 7.906 kB / 0.7498 GB, free: 5.473 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.8607, allocations: 15.64 kB / 0.7498 GB, free: 5.461 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8607, allocations: 0 / 0.7498 GB, free: 5.461 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8607, allocations: 4 kB / 0.7498 GB, free: 5.457 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8607, allocations: 0 / 0.7498 GB, free: 5.457 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.8608, allocations: 181.1 kB / 0.75 GB, free: 5.238 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8609, allocations: 0 / 0.75 GB, free: 5.238 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.8611, allocations: 23.98 kB / 0.75 GB, free: 5.215 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8611, allocations: 4 kB / 0.75 GB, free: 5.211 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.8611, allocations: 3.984 kB / 0.75 GB, free: 5.207 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8611, allocations: 11.98 kB / 0.75 GB, free: 5.195 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8611, allocations: 0 / 0.75 GB, free: 5.195 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.8613, allocations: 156.4 kB / 0.7502 GB, free: 5.047 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.8614, allocations: 81.02 kB / 0.7502 GB, free: 4.949 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.8614, allocations: 7.984 kB / 0.7502 GB, free: 4.941 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.415e-05/0.8615, allocations: 3.562 kB / 0.7502 GB, free: 4.941 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.8615, allocations: 4 kB / 0.7502 GB, free: 4.938 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-06/0.8615, allocations: 4 kB / 0.7503 GB, free: 4.934 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.8615, allocations: 83.27 kB / 0.7503 GB, free: 4.852 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8615, allocations: 0 / 0.7503 GB, free: 4.852 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002021/0.8617, allocations: 22.25 kB / 0.7504 GB, free: 4.836 MB / 0.5107 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 (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.0001124/0.8619, allocations: 95.25 kB / 0.7504 GB, free: 4.73 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.862, allocations: 83.58 kB / 0.7505 GB, free: 4.664 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.862, allocations: 0 / 0.7505 GB, free: 4.664 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.8621, allocations: 39.72 kB / 0.7506 GB, free: 4.633 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.8622, allocations: 17.42 kB / 0.7506 GB, free: 4.621 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.8632, allocations: 0.7345 MB / 0.7513 GB, free: 3.875 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.8634, allocations: 0.7043 MB / 0.752 GB, free: 3.145 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 6.66e-05/0.8635, allocations: 24.64 kB / 0.752 GB, free: 3.117 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.8636, allocations: 11.44 kB / 0.752 GB, free: 3.105 MB / 0.5107 GB Notification: Performance of SimCode: time 2.5e-07/0.8636, allocations: 0 / 0.752 GB, free: 3.105 MB / 0.5107 GB Notification: Performance of Templates: time 0.002334/0.8659, allocations: 0.6142 MB / 0.7526 GB, free: 2.535 MB / 0.5107 GB 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