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.001311/0.001311, allocations: 110.3 kB / 17.16 MB, free: 6.082 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.001273/0.001274, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.016/1.016, allocations: 119.3 MB / 411.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.4909 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6034, allocations: 80.69 MB / 0.5697 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.00229/0.6058, allocations: 1.297 MB / 0.5709 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002063/0.606, allocations: 47.86 kB / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.606, allocations: 0 / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.769e-05/0.6061, allocations: 0 / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.6062, allocations: 17.73 kB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.6064, allocations: 16.34 kB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006721/0.6071, allocations: 0.8421 MB / 0.5718 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.6071, allocations: 5.5 kB / 0.5719 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.6074, allocations: 291.8 kB / 0.5721 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.6078, allocations: 300.9 kB / 0.5724 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.6079, allocations: 45.94 kB / 0.5725 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.608, allocations: 48.03 kB / 0.5725 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.6082, allocations: 254.6 kB / 0.5728 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.6085, allocations: 275.1 kB / 0.573 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.6088, allocations: 355.7 kB / 0.5734 GB, free: 41.15 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6088, allocations: 0 / 0.5734 GB, free: 41.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6088, allocations: 0 / 0.5734 GB, free: 41.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.6088, allocations: 0 / 0.5734 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.00267/0.6115, allocations: 1.226 MB / 0.5745 GB, free: 40.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6115, allocations: 8.938 kB / 0.5746 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6117, allocations: 50.75 kB / 0.5746 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.612, allocations: 312 kB / 0.5749 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.6121, allocations: 53.94 kB / 0.575 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6122, allocations: 119.7 kB / 0.5751 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.6131, allocations: 0.6217 MB / 0.5757 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.6132, allocations: 12.97 kB / 0.5757 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.6132, allocations: 23.44 kB / 0.5757 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.6132, allocations: 11.38 kB / 0.5757 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.6139, allocations: 438.2 kB / 0.5761 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.6149, allocations: 0.7875 MB / 0.5769 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.6163, allocations: 0.936 MB / 0.5778 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.6169, allocations: 476.2 kB / 0.5783 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.471e-05/0.617, allocations: 20.86 kB / 0.5783 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.617, allocations: 44.62 kB / 0.5783 GB, free: 38.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.665e-06/0.6171, allocations: 4 kB / 0.5783 GB, free: 38.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01061/0.6277, allocations: 2.901 MB / 0.5812 GB, free: 36.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.6278, allocations: 68.12 kB / 0.5812 GB, free: 36.59 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.6279, allocations: 133.6 kB / 0.5814 GB, free: 36.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.6279, allocations: 55.42 kB / 0.5814 GB, free: 36.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.628, allocations: 100.4 kB / 0.5815 GB, free: 36.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.6283, allocations: 0.4897 MB / 0.582 GB, free: 35.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.6286, allocations: 283.8 kB / 0.5823 GB, free: 35.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.6287, allocations: 307.8 kB / 0.5826 GB, free: 35.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/0.6294, allocations: 0.498 MB / 0.583 GB, free: 35.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.6303, allocations: 0.8326 MB / 0.5839 GB, free: 34.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.632, allocations: 1.428 MB / 0.5853 GB, free: 33.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.632, allocations: 4 kB / 0.5853 GB, free: 33.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003331/0.6354, allocations: 1.992 MB / 0.5872 GB, free: 31.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6354, allocations: 11.98 kB / 0.5872 GB, free: 31.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.6354, allocations: 16.03 kB / 0.5872 GB, free: 31.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.6377, allocations: 0.5704 MB / 0.5878 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/0.6386, allocations: 323.6 kB / 0.5881 GB, free: 30.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006142/0.6447, allocations: 4.658 MB / 0.5926 GB, free: 25.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.6454, allocations: 114.8 kB / 0.5928 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.6455, allocations: 56.06 kB / 0.5928 GB, free: 25.61 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.0003063/0.6458, allocations: 237.5 kB / 0.593 GB, free: 25.37 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.6459, allocations: 43.53 kB / 0.5931 GB, free: 25.33 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.6461, allocations: 119.9 kB / 0.5932 GB, free: 25.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.6461, allocations: 12 kB / 0.5932 GB, free: 25.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-05/0.6461, allocations: 8 kB / 0.5932 GB, free: 25.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6462, allocations: 11.86 kB / 0.5932 GB, free: 25.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.6469, allocations: 0.7512 MB / 0.594 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6469, allocations: 4 kB / 0.594 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.6483, allocations: 267.8 kB / 0.5942 GB, free: 24.11 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/0.6506, allocations: 0.5626 MB / 0.5948 GB, free: 23.55 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.6507, allocations: 55.94 kB / 0.5948 GB, free: 23.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006043/0.6567, allocations: 4.632 MB / 0.5993 GB, free: 18.72 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6568, allocations: 0 / 0.5993 GB, free: 18.72 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.6603, allocations: 2.341 MB / 0.6016 GB, free: 16.37 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.6604, allocations: 136.3 kB / 0.6018 GB, free: 16.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6606, allocations: 51.89 kB / 0.6018 GB, free: 16.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.6609, allocations: 20 kB / 0.6018 GB, free: 16.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.661, allocations: 84.88 kB / 0.6019 GB, free: 16.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.6611, allocations: 35.98 kB / 0.6019 GB, free: 16.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.842e-05/0.6611, allocations: 87.2 kB / 0.602 GB, free: 15.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6612, allocations: 0 / 0.602 GB, free: 15.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007661/0.6619, allocations: 284 kB / 0.6023 GB, free: 15.66 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.0001911/0.6621, allocations: 169.3 kB / 0.6025 GB, free: 15.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.665, allocations: 1.676 MB / 0.6041 GB, free: 13.79 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.665, allocations: 3.938 kB / 0.6041 GB, free: 13.79 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.6668, allocations: 1.018 MB / 0.6051 GB, free: 12.76 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.6672, allocations: 40 kB / 0.6051 GB, free: 12.72 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.673, allocations: 6.05 MB / 0.611 GB, free: 6.633 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.6733, allocations: 0.9402 MB / 0.612 GB, free: 5.668 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.6735, allocations: 51.44 kB / 0.612 GB, free: 5.617 MB / 462.3 MB Notification: Performance of SimCode: time 7.31e-07/0.6735, allocations: 0 / 0.612 GB, free: 5.617 MB / 462.3 MB Notification: Performance of Templates: time 0.01092/0.6844, allocations: 8.917 MB / 0.6207 GB, free: 12.73 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 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)