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.001369/0.001369, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001464/0.001464, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8695/0.8695, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4749, allocations: 80.69 MB / 0.5712 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002224/0.4772, allocations: 1.219 MB / 0.5723 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000192/0.4774, allocations: 47.08 kB / 0.5724 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.4775, allocations: 0 / 0.5724 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.4776, allocations: 7.922 kB / 0.5724 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.4776, allocations: 7.125 kB / 0.5724 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.4778, allocations: 23.8 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006468/0.4785, allocations: 0.844 MB / 0.5733 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.4785, allocations: 5.062 kB / 0.5733 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.4788, allocations: 299.5 kB / 0.5735 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.4792, allocations: 272.6 kB / 0.5738 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.843e-05/0.4793, allocations: 44.88 kB / 0.5738 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.4794, allocations: 50.19 kB / 0.5739 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.4796, allocations: 262.3 kB / 0.5741 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.4799, allocations: 278.4 kB / 0.5744 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.4803, allocations: 459 kB / 0.5748 GB, free: 41.15 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4803, allocations: 0 / 0.5748 GB, free: 41.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4803, allocations: 0 / 0.5748 GB, free: 41.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4803, allocations: 1 kB / 0.5748 GB, free: 41.15 MB / 462.3 MB 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.002836/0.4832, allocations: 1.225 MB / 0.576 GB, free: 40.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4832, allocations: 14.14 kB / 0.5761 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.4834, allocations: 49.34 kB / 0.5761 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.4839, allocations: 309.5 kB / 0.5764 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.484, allocations: 58.25 kB / 0.5765 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.4842, allocations: 119.2 kB / 0.5766 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4852, allocations: 0.617 MB / 0.5772 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.4853, allocations: 20.53 kB / 0.5772 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.4853, allocations: 24.22 kB / 0.5772 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.4854, allocations: 11.44 kB / 0.5772 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.4861, allocations: 437.7 kB / 0.5776 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4872, allocations: 0.7868 MB / 0.5784 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.4886, allocations: 0.9385 MB / 0.5793 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.4892, allocations: 479.9 kB / 0.5798 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.4893, allocations: 17.22 kB / 0.5798 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4893, allocations: 44.62 kB / 0.5798 GB, free: 38.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 3.106e-06/0.4893, allocations: 0 / 0.5798 GB, free: 38.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01054/0.4999, allocations: 2.91 MB / 0.5827 GB, free: 36.65 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.4999, allocations: 66.38 kB / 0.5828 GB, free: 36.58 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.5, allocations: 125.7 kB / 0.5829 GB, free: 36.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.5002, allocations: 60.27 kB / 0.5829 GB, free: 36.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.5002, allocations: 96.06 kB / 0.583 GB, free: 36.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.5005, allocations: 497.5 kB / 0.5835 GB, free: 35.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.5008, allocations: 280.4 kB / 0.5838 GB, free: 35.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.5009, allocations: 306 kB / 0.5841 GB, free: 35.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008351/0.5017, allocations: 0.5018 MB / 0.5845 GB, free: 35.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/0.5026, allocations: 0.8295 MB / 0.5854 GB, free: 34.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.5041, allocations: 1.433 MB / 0.5868 GB, free: 33.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.5041, allocations: 4 kB / 0.5868 GB, free: 33.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003291/0.5074, allocations: 1.992 MB / 0.5887 GB, free: 31.04 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5075, allocations: 8 kB / 0.5887 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.5075, allocations: 8 kB / 0.5887 GB, free: 31.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.5097, allocations: 0.5783 MB / 0.5893 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5108, allocations: 323.6 kB / 0.5896 GB, free: 30.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.5171, allocations: 5.049 MB / 0.5945 GB, free: 24.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.5178, allocations: 114.8 kB / 0.5946 GB, free: 24.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.5179, allocations: 56 kB / 0.5947 GB, free: 24.76 MB / 462.3 MB 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.0002941/0.5182, allocations: 245.5 kB / 0.5949 GB, free: 24.51 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.5183, allocations: 39.53 kB / 0.595 GB, free: 24.47 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.5185, allocations: 119.9 kB / 0.5951 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.5185, allocations: 12 kB / 0.5951 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/0.5186, allocations: 4 kB / 0.5951 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5186, allocations: 7.969 kB / 0.5951 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.5193, allocations: 0.7553 MB / 0.5958 GB, free: 23.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5193, allocations: 0 / 0.5958 GB, free: 23.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.5207, allocations: 267.8 kB / 0.5961 GB, free: 23.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.5229, allocations: 0.5665 MB / 0.5966 GB, free: 22.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.523, allocations: 63.88 kB / 0.5967 GB, free: 22.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006305/0.5293, allocations: 5.015 MB / 0.6016 GB, free: 17.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5294, allocations: 0 / 0.6016 GB, free: 17.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.5329, allocations: 2.33 MB / 0.6039 GB, free: 15.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5331, allocations: 136.3 kB / 0.604 GB, free: 14.97 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.5332, allocations: 51.95 kB / 0.6041 GB, free: 14.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.5336, allocations: 20 kB / 0.6041 GB, free: 14.9 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.5338, allocations: 88.86 kB / 0.6042 GB, free: 14.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.5339, allocations: 35.98 kB / 0.6042 GB, free: 14.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.904e-05/0.5339, allocations: 83.28 kB / 0.6043 GB, free: 14.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5339, allocations: 0 / 0.6043 GB, free: 14.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007632/0.5347, allocations: 288 kB / 0.6045 GB, free: 14.41 MB / 462.3 MB 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.0001919/0.5349, allocations: 170.6 kB / 0.6047 GB, free: 14.24 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.5378, allocations: 1.684 MB / 0.6064 GB, free: 12.54 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5378, allocations: 4 kB / 0.6064 GB, free: 12.54 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.5398, allocations: 1.014 MB / 0.6073 GB, free: 11.51 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.5402, allocations: 43.98 kB / 0.6074 GB, free: 11.47 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.5455, allocations: 5.822 MB / 0.6131 GB, free: 5.613 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.5459, allocations: 0.9364 MB / 0.614 GB, free: 4.652 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005428/0.5464, allocations: 297.4 kB / 0.6143 GB, free: 4.359 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.5465, allocations: 43.44 kB / 0.6143 GB, free: 4.316 MB / 462.3 MB Notification: Performance of SimCode: time 1.453e-06/0.5465, allocations: 0 / 0.6143 GB, free: 4.316 MB / 462.3 MB Notification: Performance of Templates: time 0.01573/0.5623, allocations: 10.07 MB / 0.6241 GB, free: 10.27 MB / 478.3 MB 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 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)