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.001294/0.001294, allocations: 114.9 kB / 17.74 MB, free: 5.328 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.001002/0.001002, allocations: 188.5 kB / 18.67 MB, free: 4.402 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.084/1.084, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 61.92 kB / 0.5716 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 80.7 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002231/0.1757, allocations: 1.192 MB / 0.6515 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.1759, allocations: 35.88 kB / 0.6516 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.176, allocations: 7.938 kB / 0.6516 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.553e-05/0.1761, allocations: 3.984 kB / 0.6516 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.1761, allocations: 4 kB / 0.6516 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1763, allocations: 19.91 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1765, allocations: 79.86 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1765, allocations: 0 / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.1766, allocations: 27.97 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1766, allocations: 27.91 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1767, allocations: 0 / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.1767, allocations: 4 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.1767, allocations: 15.98 kB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.1768, allocations: 19.92 kB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.899e-05/0.1769, allocations: 35.89 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1769, allocations: 0 / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1769, allocations: 0 / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1769, allocations: 4 kB / 0.6518 GB, free: 11.59 MB / 0.4983 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.0005094/0.1774, allocations: 367.5 kB / 0.6521 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1774, allocations: 11.89 kB / 0.6522 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.1775, allocations: 8.844 kB / 0.6522 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.1777, allocations: 176.3 kB / 0.6523 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1777, allocations: 8.312 kB / 0.6523 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1777, allocations: 12.38 kB / 0.6524 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1779, allocations: 74.14 kB / 0.6524 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1779, allocations: 4.172 kB / 0.6524 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1779, allocations: 7.938 kB / 0.6524 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1779, allocations: 0 / 0.6524 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.178, allocations: 31.97 kB / 0.6525 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.1782, allocations: 189.5 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1783, allocations: 66.55 kB / 0.6527 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1784, allocations: 36.84 kB / 0.6527 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1784, allocations: 7.875 kB / 0.6528 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1784, allocations: 34.56 kB / 0.6528 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1784, allocations: 0 / 0.6528 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002321/0.1787, allocations: 113.8 kB / 0.6529 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1787, allocations: 51.41 kB / 0.6529 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.1788, allocations: 98.09 kB / 0.653 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1788, allocations: 33.7 kB / 0.6531 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.1788, allocations: 84.14 kB / 0.6531 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.1789, allocations: 39.44 kB / 0.6532 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.1789, allocations: 37.7 kB / 0.6532 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.179, allocations: 314.8 kB / 0.6535 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.1791, allocations: 35.98 kB / 0.6536 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.1792, allocations: 80.19 kB / 0.6536 GB, free: 9.469 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1793, allocations: 116.6 kB / 0.6537 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1794, allocations: 0 / 0.6537 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001919/0.1795, allocations: 145.6 kB / 0.6539 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1796, allocations: 22.84 kB / 0.6539 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1796, allocations: 0 / 0.6539 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1796, allocations: 0 / 0.6539 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1798, allocations: 31.98 kB / 0.6539 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1798, allocations: 4 kB / 0.6539 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.1798, allocations: 15.92 kB / 0.654 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1799, allocations: 4 kB / 0.654 GB, free: 9.117 MB / 0.4983 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/0.1799, allocations: 122.6 kB / 0.6541 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.18, allocations: 7.844 kB / 0.6541 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.18, allocations: 15.97 kB / 0.6541 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.18, allocations: 0 / 0.6541 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.18, allocations: 3.984 kB / 0.6541 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.18, allocations: 0 / 0.6541 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1802, allocations: 177.6 kB / 0.6543 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1802, allocations: 0 / 0.6543 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1804, allocations: 31.98 kB / 0.6543 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1804, allocations: 3.938 kB / 0.6543 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1804, allocations: 7.984 kB / 0.6543 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1804, allocations: 0 / 0.6543 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1804, allocations: 4 kB / 0.6543 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1806, allocations: 140.9 kB / 0.6545 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.1807, allocations: 92.95 kB / 0.6545 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1807, allocations: 4 kB / 0.6545 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.1807, allocations: 3.984 kB / 0.6545 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.1808, allocations: 4 kB / 0.6546 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.1808, allocations: 4 kB / 0.6546 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.1808, allocations: 91.39 kB / 0.6546 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1808, allocations: 4 kB / 0.6546 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001923/0.181, allocations: 12 kB / 0.6547 GB, free: 8.301 MB / 0.4983 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 (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.0001077/0.1811, allocations: 103.7 kB / 0.6548 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1813, allocations: 87.95 kB / 0.6548 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1813, allocations: 0 / 0.6548 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.1814, allocations: 35.92 kB / 0.6549 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.1816, allocations: 12.17 kB / 0.6549 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.1824, allocations: 0.6453 MB / 0.6555 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1827, allocations: 0.6961 MB / 0.6562 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1827, allocations: 15.44 kB / 0.6562 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of SimCode: time 3.11e-07/0.1827, allocations: 0 / 0.6562 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of Templates: time 0.002361/0.1851, allocations: 0.9974 MB / 0.6572 GB, free: 5.652 MB / 0.4983 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/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