Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.001146/0.001146, allocations: 116.7 kB / 17.11 MB, free: 5.949 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.001062/0.001062, allocations: 195.9 kB / 18.05 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4493/0.4493, allocations: 228.3 MB / 247.2 MB, free: 3.973 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6402/0.6402, allocations: 120.7 MB / 420.8 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 67.14 kB / 0.5881 GB, free: 49.08 MB / 478.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 84.64 MB / 0.6708 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001872/0.105, allocations: 1.23 MB / 0.672 GB, free: 1.531 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.1052, allocations: 51.86 kB / 0.672 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.1052, allocations: 0 / 0.672 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 6.944e-05/0.1053, allocations: 7.938 kB / 0.672 GB, free: 1.473 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.1053, allocations: 3.984 kB / 0.672 GB, free: 1.469 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1054, allocations: 19.97 kB / 0.672 GB, free: 1.449 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.1062, allocations: 0.8466 MB / 0.6729 GB, free: 0.6016 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1062, allocations: 15.92 kB / 0.6729 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1065, allocations: 295.6 kB / 0.6732 GB, free: 304 kB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.1069, allocations: 277.5 kB / 0.6734 GB, free: 24 kB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.107, allocations: 44.05 kB / 0.6735 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1071, allocations: 44 kB / 0.6735 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.1073, allocations: 255.4 kB / 0.6737 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.1076, allocations: 282.9 kB / 0.674 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.108, allocations: 458.2 kB / 0.6745 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.108, allocations: 4 kB / 0.6745 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.062e-06/0.108, allocations: 0 / 0.6745 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.108, allocations: 0 / 0.6745 GB, free: 14.96 MB / 0.5139 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.002543/0.1105, allocations: 1.241 MB / 0.6757 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.1106, allocations: 8.031 kB / 0.6757 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1107, allocations: 48.7 kB / 0.6757 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.1111, allocations: 319.8 kB / 0.676 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.1111, allocations: 57.38 kB / 0.6761 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.1113, allocations: 120.2 kB / 0.6762 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.1121, allocations: 0.616 MB / 0.6768 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.1122, allocations: 19.89 kB / 0.6768 GB, free: 12.44 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.1122, allocations: 23.94 kB / 0.6768 GB, free: 12.42 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1122, allocations: 12 kB / 0.6769 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.1129, allocations: 439.5 kB / 0.6773 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009373/0.1138, allocations: 0.7789 MB / 0.678 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1151, allocations: 0.8987 MB / 0.6789 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.1157, allocations: 451.6 kB / 0.6793 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.1157, allocations: 12.94 kB / 0.6794 GB, free: 9.785 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1157, allocations: 47.56 kB / 0.6794 GB, free: 9.73 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=120): time 1.743e-06/0.1157, allocations: 0 / 0.6794 GB, free: 9.73 MB / 0.5139 GB Notification: Performance of matching and sorting (n=120): time 0.009512/0.1253, allocations: 2.873 MB / 0.6822 GB, free: 6.828 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1253, allocations: 72.28 kB / 0.6823 GB, free: 6.746 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.1254, allocations: 125.8 kB / 0.6824 GB, free: 6.613 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.1255, allocations: 53.7 kB / 0.6824 GB, free: 6.555 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.1255, allocations: 102.7 kB / 0.6825 GB, free: 6.449 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.1259, allocations: 0.4958 MB / 0.683 GB, free: 5.949 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.1262, allocations: 283.6 kB / 0.6833 GB, free: 5.664 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1263, allocations: 306 kB / 0.6836 GB, free: 5.359 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.127, allocations: 0.5035 MB / 0.6841 GB, free: 4.855 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.128, allocations: 0.8348 MB / 0.6849 GB, free: 3.898 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.1298, allocations: 1.427 MB / 0.6863 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.1298, allocations: 4 kB / 0.6863 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003493/0.1333, allocations: 1.961 MB / 0.6882 GB, free: 376 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1333, allocations: 12 kB / 0.6882 GB, free: 364 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1333, allocations: 11.94 kB / 0.6882 GB, free: 352 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.1354, allocations: 0.5744 MB / 0.6888 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.1363, allocations: 327.6 kB / 0.6891 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.1435, allocations: 5.052 MB / 0.694 GB, free: 10.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.1439, allocations: 115.1 kB / 0.6942 GB, free: 10.14 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.144, allocations: 56 kB / 0.6942 GB, free: 10.08 MB / 0.5295 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.0002627/0.1443, allocations: 249.4 kB / 0.6944 GB, free: 9.828 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.1444, allocations: 39.77 kB / 0.6945 GB, free: 9.789 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.1446, allocations: 120.1 kB / 0.6946 GB, free: 9.676 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.1446, allocations: 15.98 kB / 0.6946 GB, free: 9.66 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.1446, allocations: 12 kB / 0.6946 GB, free: 9.648 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.1446, allocations: 7.969 kB / 0.6946 GB, free: 9.641 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.1455, allocations: 0.7515 MB / 0.6954 GB, free: 8.84 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1455, allocations: 0 / 0.6954 GB, free: 8.84 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.1467, allocations: 263.8 kB / 0.6956 GB, free: 8.582 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.1487, allocations: 0.5665 MB / 0.6962 GB, free: 8.012 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.1488, allocations: 55.89 kB / 0.6962 GB, free: 7.957 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00712/0.1559, allocations: 5.023 MB / 0.7011 GB, free: 2.789 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1559, allocations: 0 / 0.7011 GB, free: 2.789 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/0.1597, allocations: 2.303 MB / 0.7034 GB, free: 476 kB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1598, allocations: 136.5 kB / 0.7035 GB, free: 320 kB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.1599, allocations: 51.95 kB / 0.7036 GB, free: 268 kB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.1602, allocations: 20 kB / 0.7036 GB, free: 248 kB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.1604, allocations: 84.88 kB / 0.7037 GB, free: 164 kB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.1604, allocations: 31.98 kB / 0.7037 GB, free: 132 kB / 0.5295 GB Notification: Performance of sorting global known variables: time 3.686e-05/0.1605, allocations: 83.27 kB / 0.7038 GB, free: 48 kB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1605, allocations: 4 kB / 0.7038 GB, free: 44 kB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0006047/0.1611, allocations: 284 kB / 0.704 GB, free: 15.76 MB / 0.5452 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.0002034/0.1613, allocations: 169.3 kB / 0.7042 GB, free: 15.59 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.1642, allocations: 1.595 MB / 0.7058 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1642, allocations: 0 / 0.7058 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.1661, allocations: 0.9827 MB / 0.7067 GB, free: 12.99 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1664, allocations: 49.95 kB / 0.7068 GB, free: 12.94 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.173, allocations: 5.867 MB / 0.7125 GB, free: 7.035 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.1735, allocations: 0.9364 MB / 0.7134 GB, free: 6.07 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0005138/0.174, allocations: 293.4 kB / 0.7137 GB, free: 5.781 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1741, allocations: 43.44 kB / 0.7137 GB, free: 5.738 MB / 0.5452 GB Notification: Performance of SimCode: time 3.9e-07/0.1741, allocations: 0 / 0.7137 GB, free: 5.738 MB / 0.5452 GB Notification: Performance of Templates: time 0.01675/0.1909, allocations: 10.65 MB / 0.7241 GB, free: 11.14 MB / 0.5608 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)