Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 106.6 kB / 16.92 MB, free: 5.781 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.001392/0.001392, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.285/1.285, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9654/0.9654, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4931, allocations: 80.68 MB / 0.5697 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002108/0.4953, allocations: 1.229 MB / 0.5709 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001863/0.4955, allocations: 41.66 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.4955, allocations: 0.9062 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.4956, allocations: 0 / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.4957, allocations: 15.12 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.4958, allocations: 19.31 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.4961, allocations: 226.9 kB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.4961, allocations: 11.3 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.4962, allocations: 82.44 kB / 0.5713 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.4963, allocations: 76.38 kB / 0.5714 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.4964, allocations: 11.91 kB / 0.5714 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.4964, allocations: 10.84 kB / 0.5714 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.4965, allocations: 66.84 kB / 0.5715 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.4966, allocations: 69.67 kB / 0.5715 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.4967, allocations: 115.7 kB / 0.5716 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4967, allocations: 1.375 kB / 0.5716 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.113e-06/0.4967, allocations: 3.984 kB / 0.5717 GB, free: 42.01 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4967, allocations: 0 / 0.5717 GB, free: 42.01 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008778/0.4976, allocations: 0.5245 MB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4977, allocations: 12.8 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.4977, allocations: 13.12 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.4979, allocations: 205.6 kB / 0.5724 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4979, allocations: 11.97 kB / 0.5724 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.498, allocations: 27.94 kB / 0.5724 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4982, allocations: 189.7 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4983, allocations: 2.719 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4983, allocations: 13.47 kB / 0.5726 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4983, allocations: 3.062 kB / 0.5726 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.4985, allocations: 108.6 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.4988, allocations: 306.7 kB / 0.573 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.4993, allocations: 273 kB / 0.5733 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4994, allocations: 121.3 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.4995, allocations: 2.938 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.4995, allocations: 47.78 kB / 0.5734 GB, free: 40.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.262e-06/0.4995, allocations: 1.312 kB / 0.5734 GB, free: 40.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001556/0.501, allocations: 0.6254 MB / 0.5741 GB, free: 40.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5011, allocations: 54.66 kB / 0.5741 GB, free: 40.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.5011, allocations: 103.5 kB / 0.5742 GB, free: 40.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.5012, allocations: 31.8 kB / 0.5742 GB, free: 40.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.5012, allocations: 90.94 kB / 0.5743 GB, free: 39.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.5013, allocations: 120.6 kB / 0.5744 GB, free: 39.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.5014, allocations: 80.47 kB / 0.5745 GB, free: 39.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.5014, allocations: 327.1 kB / 0.5748 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5016, allocations: 126.4 kB / 0.5749 GB, free: 39.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.5018, allocations: 221.4 kB / 0.5752 GB, free: 39.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.5022, allocations: 370.2 kB / 0.5755 GB, free: 39.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5022, allocations: 4.938 kB / 0.5755 GB, free: 39.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008543/0.5031, allocations: 0.5251 MB / 0.576 GB, free: 38.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5031, allocations: 5.375 kB / 0.576 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5031, allocations: 3.594 kB / 0.576 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.5037, allocations: 150 kB / 0.5762 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.504, allocations: 79.28 kB / 0.5763 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.506, allocations: 2.166 MB / 0.5784 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.5062, allocations: 30.56 kB / 0.5784 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.5062, allocations: 15 kB / 0.5784 GB, free: 36.8 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/0.5063, allocations: 143.5 kB / 0.5786 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.5063, allocations: 13.34 kB / 0.5786 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.188e-05/0.5064, allocations: 38.59 kB / 0.5786 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5064, allocations: 2.75 kB / 0.5786 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.5064, allocations: 2.75 kB / 0.5786 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.5064, allocations: 0 / 0.5786 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.5067, allocations: 309 kB / 0.5789 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5067, allocations: 4.875 kB / 0.5789 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.507, allocations: 69.47 kB / 0.579 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/0.5076, allocations: 144.9 kB / 0.5791 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.5076, allocations: 19.36 kB / 0.5791 GB, free: 36.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.5096, allocations: 2.134 MB / 0.5812 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5097, allocations: 8 kB / 0.5812 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.5106, allocations: 0.5711 MB / 0.5818 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.5106, allocations: 90.02 kB / 0.5819 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.5107, allocations: 18.23 kB / 0.5819 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5108, allocations: 5.25 kB / 0.5819 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.5108, allocations: 23.28 kB / 0.5819 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.5109, allocations: 13.05 kB / 0.5819 GB, free: 34.01 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.332e-05/0.5109, allocations: 81.77 kB / 0.582 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5109, allocations: 0 / 0.582 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002943/0.5112, allocations: 75.34 kB / 0.5821 GB, free: 33.91 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.5113, allocations: 117.5 kB / 0.5822 GB, free: 33.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009444/0.5123, allocations: 0.5435 MB / 0.5827 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5123, allocations: 0 / 0.5827 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.5128, allocations: 329.4 kB / 0.583 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.513, allocations: 12.34 kB / 0.583 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5146, allocations: 1.478 MB / 0.5845 GB, free: 32.14 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.5148, allocations: 0.7465 MB / 0.5852 GB, free: 31.41 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.5149, allocations: 65.53 kB / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.515, allocations: 16.69 kB / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of SimCode: time 3.81e-07/0.515, allocations: 0 / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of Templates: time 0.005189/0.5202, allocations: 2.754 MB / 0.588 GB, free: 30.05 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches