Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.0009736, allocations: 87.41 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.0009142/0.0009143, allocations: 183.7 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.41/1.41, allocations: 223.3 MB / 241.2 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8812/0.8812, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1708, allocations: 82.85 MB / 0.5752 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001505/0.1724, allocations: 0.9493 MB / 0.5761 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002126/0.1726, allocations: 43.89 kB / 0.5761 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.1727, allocations: 0 / 0.5761 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.115e-05/0.1728, allocations: 3.984 kB / 0.5761 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.1728, allocations: 7.922 kB / 0.5761 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.173, allocations: 27.97 kB / 0.5762 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1733, allocations: 211.7 kB / 0.5764 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.1734, allocations: 4 kB / 0.5764 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1735, allocations: 75.88 kB / 0.5764 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.1737, allocations: 83.88 kB / 0.5765 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1737, allocations: 12 kB / 0.5765 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.1738, allocations: 12 kB / 0.5765 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.1738, allocations: 63.86 kB / 0.5766 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1739, allocations: 41.64 kB / 0.5766 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.174, allocations: 96.05 kB / 0.5767 GB, free: 6.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.174, allocations: 4 kB / 0.5767 GB, free: 6.496 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.174, allocations: 0 / 0.5767 GB, free: 6.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1741, allocations: 0 / 0.5767 GB, free: 6.496 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009343/0.175, allocations: 0.5067 MB / 0.5772 GB, free: 5.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.175, allocations: 8.031 kB / 0.5772 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.1751, allocations: 15.86 kB / 0.5773 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1753, allocations: 198.9 kB / 0.5774 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1754, allocations: 16 kB / 0.5775 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.1754, allocations: 27.91 kB / 0.5775 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.1758, allocations: 181.5 kB / 0.5777 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1758, allocations: 4 kB / 0.5777 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1758, allocations: 8 kB / 0.5777 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1758, allocations: 7.953 kB / 0.5777 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.1761, allocations: 115.8 kB / 0.5778 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1765, allocations: 309.3 kB / 0.5781 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.177, allocations: 262.7 kB / 0.5783 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1772, allocations: 120.8 kB / 0.5785 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1773, allocations: 8 kB / 0.5785 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1773, allocations: 30.56 kB / 0.5785 GB, free: 4.539 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.412e-06/0.1773, allocations: 3.938 kB / 0.5785 GB, free: 4.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001612/0.1789, allocations: 0.6369 MB / 0.5791 GB, free: 3.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.179, allocations: 55.41 kB / 0.5792 GB, free: 3.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.179, allocations: 109.8 kB / 0.5793 GB, free: 3.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1791, allocations: 33.7 kB / 0.5793 GB, free: 3.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.1791, allocations: 84.8 kB / 0.5794 GB, free: 3.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1792, allocations: 118.3 kB / 0.5795 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.1793, allocations: 8 kB / 0.5795 GB, free: 3.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1794, allocations: 334.8 kB / 0.5798 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1796, allocations: 132.7 kB / 0.58 GB, free: 2.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.1799, allocations: 205.7 kB / 0.5801 GB, free: 2.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1801, allocations: 159.9 kB / 0.5803 GB, free: 2.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1802, allocations: 4 kB / 0.5803 GB, free: 2.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009903/0.1812, allocations: 0.5183 MB / 0.5808 GB, free: 2.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1812, allocations: 12.19 kB / 0.5808 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1812, allocations: 4 kB / 0.5808 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.1818, allocations: 144.7 kB / 0.581 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1821, allocations: 79.91 kB / 0.581 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5349/0.7171, allocations: 1.997 MB / 0.583 GB, free: 15.2 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.7173, allocations: 26.34 kB / 0.583 GB, free: 15.2 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.7173, allocations: 15.31 kB / 0.583 GB, free: 15.2 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.7175, allocations: 147.9 kB / 0.5832 GB, free: 15.08 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.7175, allocations: 11.75 kB / 0.5832 GB, free: 15.08 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.7176, allocations: 33.52 kB / 0.5832 GB, free: 15.08 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.7176, allocations: 8.156 kB / 0.5832 GB, free: 15.08 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.7177, allocations: 2.125 kB / 0.5832 GB, free: 15.08 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7177, allocations: 5.406 kB / 0.5832 GB, free: 15.08 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.718, allocations: 297 kB / 0.5835 GB, free: 14.89 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.718, allocations: 1.312 kB / 0.5835 GB, free: 14.89 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.7184, allocations: 67.5 kB / 0.5836 GB, free: 14.89 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/0.7191, allocations: 146.2 kB / 0.5837 GB, free: 14.88 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.7191, allocations: 13.8 kB / 0.5837 GB, free: 14.88 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.7214, allocations: 2.001 MB / 0.5857 GB, free: 13.63 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7214, allocations: 1.453 kB / 0.5857 GB, free: 13.63 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.7226, allocations: 0.5773 MB / 0.5863 GB, free: 13.55 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.7226, allocations: 89.8 kB / 0.5863 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.7226, allocations: 16.72 kB / 0.5864 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.7227, allocations: 4.984 kB / 0.5864 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.7228, allocations: 22.97 kB / 0.5864 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.7229, allocations: 6.984 kB / 0.5864 GB, free: 13.45 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.7229, allocations: 82.48 kB / 0.5865 GB, free: 13.38 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7229, allocations: 0 / 0.5865 GB, free: 13.38 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004117/0.7233, allocations: 71.33 kB / 0.5865 GB, free: 13.38 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.7234, allocations: 116.3 kB / 0.5866 GB, free: 13.29 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.7245, allocations: 499 kB / 0.5871 GB, free: 13.18 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.7245, allocations: 0 / 0.5871 GB, free: 13.18 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.7251, allocations: 332.6 kB / 0.5874 GB, free: 13.05 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.7253, allocations: 21.61 kB / 0.5875 GB, free: 13.05 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.7276, allocations: 1.786 MB / 0.5892 GB, free: 11.83 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.7278, allocations: 0.742 MB / 0.5899 GB, free: 11.13 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.728, allocations: 68.97 kB / 0.59 GB, free: 11.13 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.7281, allocations: 17.19 kB / 0.59 GB, free: 11.12 MB / 446.3 MB Notification: Performance of SimCode: time 5.21e-07/0.7281, allocations: 0 / 0.59 GB, free: 11.12 MB / 446.3 MB Notification: Performance of Templates: time 0.006856/0.7349, allocations: 2.575 MB / 0.5925 GB, free: 10.99 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches