Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001131/0.00113, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.392/1.392, allocations: 223.3 MB / 241.2 MB, free: 5.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7978/0.7978, allocations: 120.5 MB / 412.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8 kB / 0.4943 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1662, allocations: 82.86 MB / 0.5752 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001246/0.1675, allocations: 0.926 MB / 0.5761 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.1677, allocations: 47.83 kB / 0.5761 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.1677, allocations: 0 / 0.5761 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.1679, allocations: 7.922 kB / 0.5761 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.1679, allocations: 7.938 kB / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.1681, allocations: 23.95 kB / 0.5762 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1683, allocations: 107.8 kB / 0.5763 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.1683, allocations: 7.984 kB / 0.5763 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.1684, allocations: 35.91 kB / 0.5763 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.1685, allocations: 39.89 kB / 0.5763 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1685, allocations: 4 kB / 0.5763 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.1685, allocations: 4 kB / 0.5763 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.1686, allocations: 23.95 kB / 0.5764 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.1686, allocations: 37.7 kB / 0.5764 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.423e-05/0.1687, allocations: 28.23 kB / 0.5764 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1687, allocations: 0 / 0.5764 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1687, allocations: 4 kB / 0.5764 GB, free: 6.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1687, allocations: 0 / 0.5764 GB, free: 6.797 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005737/0.1693, allocations: 399.1 kB / 0.5768 GB, free: 6.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1693, allocations: 16.02 kB / 0.5768 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1694, allocations: 7.953 kB / 0.5768 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1696, allocations: 175 kB / 0.577 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1696, allocations: 8 kB / 0.577 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1696, allocations: 8 kB / 0.577 GB, free: 6.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1698, allocations: 89.58 kB / 0.5771 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1698, allocations: 0 / 0.5771 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1698, allocations: 0 / 0.5771 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1699, allocations: 4 kB / 0.5771 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.17, allocations: 51.84 kB / 0.5772 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.1702, allocations: 217.5 kB / 0.5774 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1706, allocations: 130.5 kB / 0.5775 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.1707, allocations: 52.83 kB / 0.5775 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1707, allocations: 0 / 0.5775 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1707, allocations: 30.56 kB / 0.5776 GB, free: 5.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.1707, allocations: 0 / 0.5776 GB, free: 5.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006681/0.1714, allocations: 320.3 kB / 0.5779 GB, free: 5.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1715, allocations: 51.41 kB / 0.5779 GB, free: 5.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.1715, allocations: 101.8 kB / 0.578 GB, free: 4.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1716, allocations: 29.7 kB / 0.5781 GB, free: 4.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.1716, allocations: 84.14 kB / 0.5781 GB, free: 4.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.1717, allocations: 51.2 kB / 0.5782 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.1717, allocations: 4 kB / 0.5782 GB, free: 4.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1718, allocations: 326.8 kB / 0.5785 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.1719, allocations: 47.97 kB / 0.5785 GB, free: 4.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.172, allocations: 88.25 kB / 0.5786 GB, free: 4.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.79e-05/0.1721, allocations: 67.92 kB / 0.5787 GB, free: 4.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1721, allocations: 3.938 kB / 0.5787 GB, free: 4.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000393/0.1725, allocations: 230.1 kB / 0.5789 GB, free: 3.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1725, allocations: 5.875 kB / 0.5789 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1725, allocations: 8 kB / 0.5789 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.1728, allocations: 60.92 kB / 0.579 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.173, allocations: 31.92 kB / 0.579 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.1743, allocations: 1.468 MB / 0.5804 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.1744, allocations: 15.84 kB / 0.5805 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1744, allocations: 4.328 kB / 0.5805 GB, free: 2.262 MB / 446.1 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.1745, allocations: 129.8 kB / 0.5806 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.1745, allocations: 4 kB / 0.5806 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.1746, allocations: 15.95 kB / 0.5806 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1746, allocations: 4 kB / 0.5806 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1746, allocations: 3.953 kB / 0.5806 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1746, allocations: 0 / 0.5806 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1748, allocations: 209.5 kB / 0.5808 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1748, allocations: 0 / 0.5808 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1749, allocations: 31.98 kB / 0.5808 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.1752, allocations: 56.8 kB / 0.5809 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1752, allocations: 4 kB / 0.5809 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1764, allocations: 1.472 MB / 0.5823 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1764, allocations: 7.891 kB / 0.5824 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5217/0.6981, allocations: 250.3 kB / 0.5826 GB, free: 16.07 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.6982, allocations: 83.52 kB / 0.5827 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.6982, allocations: 6.281 kB / 0.5827 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.6983, allocations: 2.812 kB / 0.5827 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.6984, allocations: 10.06 kB / 0.5827 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.6984, allocations: 6.734 kB / 0.5827 GB, free: 15.98 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.869e-05/0.6984, allocations: 80.89 kB / 0.5828 GB, free: 15.9 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6984, allocations: 0 / 0.5828 GB, free: 15.9 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003239/0.6988, allocations: 31.06 kB / 0.5828 GB, free: 15.9 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.6989, allocations: 105.3 kB / 0.5829 GB, free: 15.81 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0005593/0.6994, allocations: 254.2 kB / 0.5831 GB, free: 15.7 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6994, allocations: 1 kB / 0.5831 GB, free: 15.7 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.6997, allocations: 196 kB / 0.5833 GB, free: 15.59 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.6999, allocations: 8.312 kB / 0.5833 GB, free: 15.59 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.7009, allocations: 0.7863 MB / 0.5841 GB, free: 15.09 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.7011, allocations: 0.7012 MB / 0.5848 GB, free: 14.39 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.7012, allocations: 36.81 kB / 0.5848 GB, free: 14.39 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.7012, allocations: 11.75 kB / 0.5848 GB, free: 14.39 MB / 446.3 MB Notification: Performance of SimCode: time 3.51e-07/0.7012, allocations: 0 / 0.5848 GB, free: 14.39 MB / 446.3 MB Notification: Performance of Templates: time 0.003975/0.7052, allocations: 1.221 MB / 0.586 GB, free: 14.33 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches