Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 107.5 kB / 17.74 MB, free: 5.188 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.001324/0.001324, allocations: 188.2 kB / 18.67 MB, free: 4.266 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.064/1.064, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.78 kB / 0.5716 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 80.7 MB / 0.6504 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002721/0.1657, allocations: 1.219 MB / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.166, allocations: 39.88 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.166, allocations: 0 / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.878e-05/0.1662, allocations: 7.875 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.1663, allocations: 19.97 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1665, allocations: 19.91 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.1673, allocations: 0.8427 MB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.1674, allocations: 7.984 kB / 0.6525 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.1679, allocations: 291.8 kB / 0.6528 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.1685, allocations: 281.5 kB / 0.6531 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.1686, allocations: 44 kB / 0.6531 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1688, allocations: 48 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1691, allocations: 253.8 kB / 0.6534 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.1696, allocations: 282.9 kB / 0.6537 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.17, allocations: 450.5 kB / 0.6541 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.17, allocations: 0 / 0.6541 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1701, allocations: 3.938 kB / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.1701, allocations: 0 / 0.6541 GB, free: 9.203 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003015/0.1731, allocations: 1.23 MB / 0.6553 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1732, allocations: 15.89 kB / 0.6553 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1733, allocations: 52.45 kB / 0.6554 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.1738, allocations: 307.8 kB / 0.6557 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.1738, allocations: 57.38 kB / 0.6557 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.174, allocations: 116.1 kB / 0.6558 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1751, allocations: 0.6274 MB / 0.6565 GB, free: 6.711 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/0.1752, allocations: 20 kB / 0.6565 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.1752, allocations: 27.92 kB / 0.6565 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1753, allocations: 16 kB / 0.6565 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007135/0.176, allocations: 427.6 kB / 0.6569 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1771, allocations: 0.7864 MB / 0.6577 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.1786, allocations: 0.9346 MB / 0.6586 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.1792, allocations: 475.6 kB / 0.6591 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.1793, allocations: 16.94 kB / 0.6591 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1793, allocations: 51.5 kB / 0.6591 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 3.086e-06/0.1794, allocations: 0 / 0.6591 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.01065/0.19, allocations: 2.9 MB / 0.662 GB, free: 0.9766 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1901, allocations: 68.34 kB / 0.662 GB, free: 0.8984 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1903, allocations: 125.8 kB / 0.6621 GB, free: 0.7656 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/0.1904, allocations: 57.7 kB / 0.6622 GB, free: 0.7031 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1904, allocations: 102.6 kB / 0.6623 GB, free: 0.5977 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.1908, allocations: 488.9 kB / 0.6628 GB, free: 116 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.1912, allocations: 279.6 kB / 0.663 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1913, allocations: 310 kB / 0.6633 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/0.1922, allocations: 0.4996 MB / 0.6638 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.1932, allocations: 0.8356 MB / 0.6646 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.1952, allocations: 1.439 MB / 0.666 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.1952, allocations: 0 / 0.666 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003991/0.1992, allocations: 1.988 MB / 0.668 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.1993, allocations: 12.03 kB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.1993, allocations: 12 kB / 0.668 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.2017, allocations: 0.5743 MB / 0.6686 GB, free: 9.895 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2028, allocations: 323.6 kB / 0.6689 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/0.211, allocations: 5.057 MB / 0.6738 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.2117, allocations: 110.8 kB / 0.6739 GB, free: 4.266 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.2119, allocations: 56 kB / 0.674 GB, free: 4.211 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003857/0.2123, allocations: 242.3 kB / 0.6742 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2124, allocations: 39.53 kB / 0.6742 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.2127, allocations: 119.9 kB / 0.6744 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2127, allocations: 12 kB / 0.6744 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.121e-05/0.2127, allocations: 8.25 kB / 0.6744 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2128, allocations: 7.984 kB / 0.6744 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.2138, allocations: 0.7591 MB / 0.6751 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2138, allocations: 0 / 0.6751 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.2152, allocations: 263.8 kB / 0.6754 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/0.2175, allocations: 0.5626 MB / 0.6759 GB, free: 2.152 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.2176, allocations: 55.88 kB / 0.676 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007855/0.2255, allocations: 5.015 MB / 0.6809 GB, free: 12.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2255, allocations: 4.031 kB / 0.6809 GB, free: 12.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.2301, allocations: 2.33 MB / 0.6832 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.2302, allocations: 132.3 kB / 0.6833 GB, free: 10.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2303, allocations: 55.95 kB / 0.6833 GB, free: 10.38 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.2308, allocations: 20 kB / 0.6833 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.231, allocations: 80.88 kB / 0.6834 GB, free: 10.28 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.2311, allocations: 35.98 kB / 0.6835 GB, free: 10.25 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.2311, allocations: 79.27 kB / 0.6835 GB, free: 10.17 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2311, allocations: 0 / 0.6835 GB, free: 10.17 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008559/0.232, allocations: 288 kB / 0.6838 GB, free: 9.887 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],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],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * 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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.2323, allocations: 173.3 kB / 0.684 GB, free: 9.707 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003468/0.2357, allocations: 1.682 MB / 0.6856 GB, free: 8.012 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2358, allocations: 3.938 kB / 0.6856 GB, free: 8.008 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.2379, allocations: 1.025 MB / 0.6866 GB, free: 6.973 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.2383, allocations: 40 kB / 0.6867 GB, free: 6.934 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/0.2456, allocations: 5.875 MB / 0.6924 GB, free: 1.02 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.2463, allocations: 0.9402 MB / 0.6933 GB, free: 52 kB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.2465, allocations: 47.44 kB / 0.6934 GB, free: 4 kB / 0.5295 GB Notification: Performance of SimCode: time 1.002e-06/0.2465, allocations: 0 / 0.6934 GB, free: 4 kB / 0.5295 GB Notification: Performance of Templates: time 0.01541/0.262, allocations: 9.071 MB / 0.7022 GB, free: 6.961 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)