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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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.001209/0.001209, allocations: 192.9 kB / 17.27 MB, free: 4.5 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001241/0.001241, allocations: 111.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8499/0.8499, allocations: 119.3 MB / 460.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.92 kB / 0.5391 GB, free: 43.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1644, allocations: 80.7 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002468/0.1669, allocations: 1.254 MB / 0.6191 GB, free: 11.45 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.1671, allocations: 35.89 kB / 0.6192 GB, free: 11.41 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.1671, allocations: 4 kB / 0.6192 GB, free: 11.41 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.214e-05/0.1672, allocations: 0 / 0.6192 GB, free: 11.41 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.1673, allocations: 11.92 kB / 0.6192 GB, free: 11.4 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.1675, allocations: 15.97 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1676, allocations: 83.86 kB / 0.6193 GB, free: 11.3 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1677, allocations: 8 kB / 0.6193 GB, free: 11.29 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.1677, allocations: 27.91 kB / 0.6193 GB, free: 11.27 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.1678, allocations: 23.97 kB / 0.6193 GB, free: 11.24 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1678, allocations: 4 kB / 0.6194 GB, free: 11.24 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.1678, allocations: 0 / 0.6194 GB, free: 11.24 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1679, allocations: 15.98 kB / 0.6194 GB, free: 11.22 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.1679, allocations: 27.84 kB / 0.6194 GB, free: 11.2 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.368e-05/0.168, allocations: 35.89 kB / 0.6194 GB, free: 11.16 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.168, allocations: 0 / 0.6194 GB, free: 11.16 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.168, allocations: 0 / 0.6194 GB, free: 11.16 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.168, allocations: 4 kB / 0.6194 GB, free: 11.16 MB / 442.8 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.0005271/0.1686, allocations: 367.7 kB / 0.6198 GB, free: 10.75 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1686, allocations: 16.02 kB / 0.6198 GB, free: 10.73 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1686, allocations: 4.875 kB / 0.6198 GB, free: 10.73 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1688, allocations: 180.3 kB / 0.62 GB, free: 10.51 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1688, allocations: 4.375 kB / 0.62 GB, free: 10.51 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1689, allocations: 12.38 kB / 0.62 GB, free: 10.5 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.169, allocations: 74.14 kB / 0.6201 GB, free: 10.42 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1691, allocations: 192 / 0.6201 GB, free: 10.42 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1691, allocations: 7.938 kB / 0.6201 GB, free: 10.41 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1691, allocations: 4 kB / 0.6201 GB, free: 10.41 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.1692, allocations: 31.95 kB / 0.6201 GB, free: 10.38 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.1694, allocations: 189.5 kB / 0.6203 GB, free: 10.14 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1695, allocations: 66.55 kB / 0.6203 GB, free: 10.07 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.1696, allocations: 36.84 kB / 0.6204 GB, free: 10.03 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1696, allocations: 0 / 0.6204 GB, free: 10.03 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1696, allocations: 34.56 kB / 0.6204 GB, free: 9.984 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.1696, allocations: 0 / 0.6204 GB, free: 9.984 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002332/0.1698, allocations: 117.4 kB / 0.6205 GB, free: 9.863 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1699, allocations: 51.41 kB / 0.6206 GB, free: 9.801 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.17, allocations: 105.8 kB / 0.6207 GB, free: 9.688 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.17, allocations: 33.7 kB / 0.6207 GB, free: 9.648 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.17, allocations: 84.14 kB / 0.6208 GB, free: 9.562 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.1701, allocations: 43.67 kB / 0.6208 GB, free: 9.52 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1701, allocations: 33.7 kB / 0.6209 GB, free: 9.48 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1703, allocations: 314.8 kB / 0.6212 GB, free: 9.164 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.1703, allocations: 39.97 kB / 0.6212 GB, free: 9.125 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.1704, allocations: 69.39 kB / 0.6213 GB, free: 9.043 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1706, allocations: 116.2 kB / 0.6214 GB, free: 8.914 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1706, allocations: 4 kB / 0.6214 GB, free: 8.91 MB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001941/0.1708, allocations: 141.5 kB / 0.6215 GB, free: 8.766 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1708, allocations: 16.06 kB / 0.6215 GB, free: 8.75 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1708, allocations: 0 / 0.6215 GB, free: 8.75 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1708, allocations: 4 kB / 0.6215 GB, free: 8.746 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.171, allocations: 35.92 kB / 0.6216 GB, free: 8.711 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.171, allocations: 0 / 0.6216 GB, free: 8.711 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1711, allocations: 11.91 kB / 0.6216 GB, free: 8.699 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1711, allocations: 4 kB / 0.6216 GB, free: 8.695 MB / 442.8 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 7.847e-05/0.1712, allocations: 125.7 kB / 0.6217 GB, free: 8.562 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1712, allocations: 7.938 kB / 0.6217 GB, free: 8.555 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.1712, allocations: 15.97 kB / 0.6217 GB, free: 8.535 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1712, allocations: 0 / 0.6217 GB, free: 8.535 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1713, allocations: 0 / 0.6217 GB, free: 8.535 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1713, allocations: 0 / 0.6217 GB, free: 8.535 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1714, allocations: 193.5 kB / 0.6219 GB, free: 8.297 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1714, allocations: 0 / 0.6219 GB, free: 8.297 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1716, allocations: 27.92 kB / 0.6219 GB, free: 8.27 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1716, allocations: 3.938 kB / 0.6219 GB, free: 8.266 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1716, allocations: 4 kB / 0.6219 GB, free: 8.262 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1716, allocations: 3.938 kB / 0.622 GB, free: 8.258 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1716, allocations: 0 / 0.622 GB, free: 8.258 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1732, allocations: 1.346 MB / 0.6233 GB, free: 6.77 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.1732, allocations: 77.11 kB / 0.6233 GB, free: 6.676 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1732, allocations: 4 kB / 0.6233 GB, free: 6.672 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.1733, allocations: 4 kB / 0.6233 GB, free: 6.668 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.1733, allocations: 7.984 kB / 0.6234 GB, free: 6.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1733, allocations: 0 / 0.6234 GB, free: 6.66 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.1734, allocations: 79.28 kB / 0.6234 GB, free: 6.582 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1734, allocations: 0 / 0.6234 GB, free: 6.582 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002659/0.1736, allocations: 28 kB / 0.6235 GB, free: 6.555 MB / 442.8 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 0.00011/0.1737, allocations: 111.1 kB / 0.6236 GB, free: 6.434 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1739, allocations: 83.89 kB / 0.6236 GB, free: 6.352 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1739, allocations: 0 / 0.6236 GB, free: 6.352 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.174, allocations: 31.98 kB / 0.6237 GB, free: 6.32 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.1742, allocations: 4 kB / 0.6237 GB, free: 6.316 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1752, allocations: 0.7591 MB / 0.6244 GB, free: 5.516 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1755, allocations: 0.6965 MB / 0.6251 GB, free: 4.793 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 8.337e-05/0.1755, allocations: 36.62 kB / 0.6251 GB, free: 4.754 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1756, allocations: 15.38 kB / 0.6251 GB, free: 4.738 MB / 442.8 MB Notification: Performance of SimCode: time 2e-07/0.1756, allocations: 0 / 0.6251 GB, free: 4.738 MB / 442.8 MB Notification: Performance of Templates: time 0.002823/0.1784, allocations: 0.9164 MB / 0.626 GB, free: 3.855 MB / 442.8 MB 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@2/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