Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 97.25 kB / 16.3 MB, free: 6.461 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.0009405/0.0009406, allocations: 173.8 kB / 17.19 MB, free: 6.348 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.348/1.348, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8068/0.8068, allocations: 120.4 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003206, allocations: 8 kB / 0.4942 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 82.85 MB / 0.5751 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001524/0.1802, allocations: 0.9377 MB / 0.576 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.1804, allocations: 47.89 kB / 0.576 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.1805, allocations: 0 / 0.576 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1806, allocations: 7.938 kB / 0.576 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.1806, allocations: 3.984 kB / 0.576 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1808, allocations: 15.97 kB / 0.5761 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1812, allocations: 283.6 kB / 0.5763 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.214e-05/0.1813, allocations: 4 kB / 0.5763 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.1815, allocations: 151.9 kB / 0.5765 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.1818, allocations: 135.7 kB / 0.5766 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.1819, allocations: 24 kB / 0.5766 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.1819, allocations: 24 kB / 0.5767 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1821, allocations: 119.8 kB / 0.5768 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.1822, allocations: 65.52 kB / 0.5768 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1824, allocations: 175.9 kB / 0.577 GB, free: 6.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1824, allocations: 3.938 kB / 0.577 GB, free: 6.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1824, allocations: 0 / 0.577 GB, free: 6.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1824, allocations: 0 / 0.577 GB, free: 6.137 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001612/0.184, allocations: 0.7298 MB / 0.5777 GB, free: 5.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1841, allocations: 8.031 kB / 0.5777 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1842, allocations: 27.77 kB / 0.5778 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1846, allocations: 234.8 kB / 0.578 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1846, allocations: 28.56 kB / 0.578 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1848, allocations: 63.81 kB / 0.5781 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.1853, allocations: 328.7 kB / 0.5784 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.1854, allocations: 11.91 kB / 0.5784 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.1854, allocations: 8 kB / 0.5784 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1854, allocations: 4 kB / 0.5784 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.1858, allocations: 222 kB / 0.5786 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.1865, allocations: 471.9 kB / 0.5791 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.1873, allocations: 494.6 kB / 0.5795 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1873, allocations: 8.562 kB / 0.5795 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1874, allocations: 39.12 kB / 0.5796 GB, free: 3.336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/0.1874, allocations: 0 / 0.5796 GB, free: 3.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.003704/0.1911, allocations: 1.241 MB / 0.5808 GB, free: 2.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.1912, allocations: 55.97 kB / 0.5808 GB, free: 1.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1913, allocations: 109.8 kB / 0.581 GB, free: 1.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.1913, allocations: 41.7 kB / 0.581 GB, free: 1.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.1914, allocations: 97.45 kB / 0.5811 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.1916, allocations: 252.3 kB / 0.5813 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1917, allocations: 23.88 kB / 0.5813 GB, free: 1.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1918, allocations: 346.8 kB / 0.5817 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.1923, allocations: 249.8 kB / 0.5819 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.1928, allocations: 430 kB / 0.5823 GB, free: 392 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.1933, allocations: 322 kB / 0.5826 GB, free: 68 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.1933, allocations: 4 kB / 0.5826 GB, free: 64 kB / 446.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.5127/0.706, allocations: 0.9938 MB / 0.5836 GB, free: 15.89 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.7061, allocations: 9.203 kB / 0.5836 GB, free: 15.89 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.7061, allocations: 4.406 kB / 0.5836 GB, free: 15.89 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.7075, allocations: 294.5 kB / 0.5839 GB, free: 15.88 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.7082, allocations: 166.3 kB / 0.5841 GB, free: 15.88 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004768/0.7129, allocations: 2.982 MB / 0.587 GB, free: 14.6 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.7133, allocations: 55.89 kB / 0.587 GB, free: 14.59 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.7134, allocations: 29.3 kB / 0.5871 GB, free: 14.59 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.7136, allocations: 177.5 kB / 0.5872 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.7137, allocations: 21.31 kB / 0.5872 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.7138, allocations: 62.11 kB / 0.5873 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.7138, allocations: 9.438 kB / 0.5873 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.7139, allocations: 6.688 kB / 0.5873 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7139, allocations: 4.25 kB / 0.5873 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.7146, allocations: 452 kB / 0.5878 GB, free: 14.25 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7146, allocations: 4.5 kB / 0.5878 GB, free: 14.25 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.7154, allocations: 133.8 kB / 0.5879 GB, free: 14.25 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.7167, allocations: 289.9 kB / 0.5882 GB, free: 14.23 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.7168, allocations: 35.09 kB / 0.5882 GB, free: 14.23 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/0.7217, allocations: 2.967 MB / 0.5911 GB, free: 12.48 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7217, allocations: 5.078 kB / 0.5911 GB, free: 12.47 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.7242, allocations: 1.119 MB / 0.5922 GB, free: 12.12 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.7243, allocations: 107.6 kB / 0.5923 GB, free: 12 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.7243, allocations: 27.33 kB / 0.5923 GB, free: 12 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.7245, allocations: 14.56 kB / 0.5923 GB, free: 11.98 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.7247, allocations: 46.88 kB / 0.5924 GB, free: 11.98 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.7247, allocations: 12.89 kB / 0.5924 GB, free: 11.98 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.186e-05/0.7248, allocations: 86.58 kB / 0.5925 GB, free: 11.89 MB / 446.3 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7248, allocations: 0.875 kB / 0.5925 GB, free: 11.89 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000715/0.7255, allocations: 142.3 kB / 0.5926 GB, free: 11.87 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.7257, allocations: 135.6 kB / 0.5927 GB, free: 11.76 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.7277, allocations: 0.8822 MB / 0.5936 GB, free: 11.45 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7277, allocations: 0 / 0.5936 GB, free: 11.45 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.7289, allocations: 0.5535 MB / 0.5941 GB, free: 11.23 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.7291, allocations: 16.75 kB / 0.5942 GB, free: 11.22 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.7331, allocations: 3.492 MB / 0.5976 GB, free: 8.797 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.7335, allocations: 0.8196 MB / 0.5984 GB, free: 8.098 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.7339, allocations: 147 kB / 0.5985 GB, free: 8.078 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.7339, allocations: 25.31 kB / 0.5985 GB, free: 8.07 MB / 446.3 MB Notification: Performance of SimCode: time 1.152e-06/0.7339, allocations: 0 / 0.5985 GB, free: 8.07 MB / 446.3 MB Notification: Performance of Templates: time 0.01122/0.7452, allocations: 4.888 MB / 0.6033 GB, free: 6.594 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches