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.001503/0.001503, allocations: 108.8 kB / 17.06 MB, free: 6.137 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.001716/0.001716, allocations: 191 kB / 18 MB, free: 5.219 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9951/0.9951, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 74.05 kB / 0.571 GB, free: 39.69 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1856, allocations: 80.69 MB / 0.6498 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002652/0.1883, allocations: 1.227 MB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.1886, allocations: 47.86 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.1886, allocations: 0 / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.849e-05/0.1887, allocations: 3.984 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.1888, allocations: 11.94 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.189, allocations: 27.94 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.1898, allocations: 0.8388 MB / 0.6519 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.647e-05/0.1899, allocations: 4 kB / 0.6519 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.1902, allocations: 295.8 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.1907, allocations: 281.4 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.1908, allocations: 48 kB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1909, allocations: 44 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.1911, allocations: 257.8 kB / 0.6528 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.1915, allocations: 278.9 kB / 0.653 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.1919, allocations: 454.5 kB / 0.6535 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1919, allocations: 0 / 0.6535 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1919, allocations: 3.938 kB / 0.6535 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1919, allocations: 0 / 0.6535 GB, free: 9.188 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.002973/0.1949, allocations: 1.23 MB / 0.6547 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.195, allocations: 15.89 kB / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.1951, allocations: 52.47 kB / 0.6547 GB, free: 7.836 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1956, allocations: 311.8 kB / 0.655 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.1957, allocations: 53.38 kB / 0.6551 GB, free: 7.441 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.1958, allocations: 116.1 kB / 0.6552 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.1969, allocations: 0.6158 MB / 0.6558 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.1969, allocations: 27.98 kB / 0.6558 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.197, allocations: 23.94 kB / 0.6558 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.197, allocations: 12 kB / 0.6559 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.1977, allocations: 435.5 kB / 0.6563 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1988, allocations: 0.7864 MB / 0.657 GB, free: 5.383 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.2003, allocations: 0.9346 MB / 0.6579 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.201, allocations: 479.5 kB / 0.6584 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.201, allocations: 16.94 kB / 0.6584 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2011, allocations: 43.56 kB / 0.6585 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 3.386e-06/0.2011, allocations: 0 / 0.6585 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.01097/0.2121, allocations: 2.908 MB / 0.6613 GB, free: 0.9609 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.2122, allocations: 68.34 kB / 0.6614 GB, free: 0.8828 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2123, allocations: 129.8 kB / 0.6615 GB, free: 0.7461 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-05/0.2124, allocations: 57.7 kB / 0.6615 GB, free: 0.6836 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.2125, allocations: 102.7 kB / 0.6616 GB, free: 0.5781 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.2128, allocations: 488.9 kB / 0.6621 GB, free: 96 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/0.2132, allocations: 275.7 kB / 0.6624 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2133, allocations: 314 kB / 0.6627 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.2141, allocations: 0.4996 MB / 0.6632 GB, free: 15 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2151, allocations: 0.8317 MB / 0.664 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.2171, allocations: 1.427 MB / 0.6654 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.2171, allocations: 4 kB / 0.6654 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004107/0.2212, allocations: 1.992 MB / 0.6673 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.2213, allocations: 8 kB / 0.6673 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.2213, allocations: 8 kB / 0.6673 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.2237, allocations: 0.5822 MB / 0.6679 GB, free: 9.879 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.2249, allocations: 327.6 kB / 0.6682 GB, free: 9.559 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/0.2335, allocations: 5.045 MB / 0.6731 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.2344, allocations: 118.8 kB / 0.6733 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.2345, allocations: 60 kB / 0.6733 GB, free: 4.195 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.0004367/0.2349, allocations: 238.3 kB / 0.6735 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.235, allocations: 39.53 kB / 0.6736 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.2354, allocations: 123.9 kB / 0.6737 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.2354, allocations: 12 kB / 0.6737 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-05/0.2355, allocations: 4 kB / 0.6737 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.2355, allocations: 7.969 kB / 0.6737 GB, free: 3.773 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2366, allocations: 0.7552 MB / 0.6745 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2366, allocations: 0 / 0.6745 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.238, allocations: 263.8 kB / 0.6747 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.2403, allocations: 0.5626 MB / 0.6753 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.2405, allocations: 59.88 kB / 0.6753 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00844/0.2489, allocations: 5.019 MB / 0.6802 GB, free: 12.92 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.249, allocations: 3.984 kB / 0.6802 GB, free: 12.92 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.2538, allocations: 2.33 MB / 0.6825 GB, free: 10.57 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2539, allocations: 128.3 kB / 0.6826 GB, free: 10.42 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.2541, allocations: 55.95 kB / 0.6827 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.2546, allocations: 20 kB / 0.6827 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.2548, allocations: 92.86 kB / 0.6828 GB, free: 10.26 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.2549, allocations: 35.92 kB / 0.6828 GB, free: 10.22 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.255, allocations: 79.28 kB / 0.6829 GB, free: 10.14 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.2e-07/0.255, allocations: 0 / 0.6829 GB, free: 10.14 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0009994/0.256, allocations: 288 kB / 0.6832 GB, free: 9.863 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.0002727/0.2563, allocations: 173.3 kB / 0.6833 GB, free: 9.684 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003789/0.2601, allocations: 1.685 MB / 0.685 GB, free: 7.984 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2601, allocations: 3.938 kB / 0.685 GB, free: 7.98 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.2627, allocations: 1.021 MB / 0.686 GB, free: 6.949 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.2632, allocations: 44 kB / 0.686 GB, free: 6.906 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.2712, allocations: 5.819 MB / 0.6917 GB, free: 1.059 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.272, allocations: 0.9403 MB / 0.6926 GB, free: 92 kB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008404/0.2729, allocations: 297.4 kB / 0.6929 GB, free: 15.8 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.2731, allocations: 39.44 kB / 0.6929 GB, free: 15.76 MB / 0.5452 GB Notification: Performance of SimCode: time 7.32e-07/0.2731, allocations: 4 kB / 0.6929 GB, free: 15.75 MB / 0.5452 GB Notification: Performance of Templates: time 0.0206/0.2937, allocations: 10.37 MB / 0.7031 GB, free: 5.406 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)