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.001777/0.001778, allocations: 107.7 kB / 16.51 MB, free: 6.707 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.002024/0.002024, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.348/1.348, allocations: 222.9 MB / 241.1 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 0.9884/0.9884, allocations: 119.3 MB / 410.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 60.12 kB / 0.4903 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5664, allocations: 80.68 MB / 0.569 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002171/0.5687, allocations: 1.293 MB / 0.5703 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.5689, allocations: 51.17 kB / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.5689, allocations: 0 / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.944e-05/0.569, allocations: 5.078 kB / 0.5704 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.5691, allocations: 8.875 kB / 0.5704 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.5692, allocations: 20.55 kB / 0.5704 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.5695, allocations: 251.4 kB / 0.5706 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.5695, allocations: 2.562 kB / 0.5706 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.5696, allocations: 82.08 kB / 0.5707 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.5697, allocations: 80.7 kB / 0.5708 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.5698, allocations: 11 kB / 0.5708 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.5698, allocations: 12.38 kB / 0.5708 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.5699, allocations: 65.84 kB / 0.5709 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.57, allocations: 69.83 kB / 0.5709 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.5701, allocations: 119.1 kB / 0.571 GB, free: 42.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5701, allocations: 0 / 0.571 GB, free: 42.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5701, allocations: 3.984 kB / 0.571 GB, free: 42.06 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.5701, allocations: 1.5 kB / 0.571 GB, free: 42.06 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.0008584/0.571, allocations: 0.5237 MB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.571, allocations: 9.312 kB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.5711, allocations: 12.66 kB / 0.5716 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.5713, allocations: 202.4 kB / 0.5718 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5713, allocations: 16.31 kB / 0.5718 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.5713, allocations: 28.25 kB / 0.5718 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.5716, allocations: 176.9 kB / 0.572 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5716, allocations: 7.281 kB / 0.572 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.5717, allocations: 13.44 kB / 0.572 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5717, allocations: 6.766 kB / 0.572 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5719, allocations: 109.4 kB / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.5722, allocations: 305.6 kB / 0.5724 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.5727, allocations: 273.2 kB / 0.5727 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.5729, allocations: 120.7 kB / 0.5728 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.5729, allocations: 3.625 kB / 0.5728 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.5729, allocations: 44.81 kB / 0.5728 GB, free: 40.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/0.5729, allocations: 0 / 0.5728 GB, free: 40.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001625/0.5746, allocations: 0.6262 MB / 0.5734 GB, free: 40.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5746, allocations: 58.53 kB / 0.5735 GB, free: 40.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.5747, allocations: 103.7 kB / 0.5736 GB, free: 40.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5747, allocations: 30.86 kB / 0.5736 GB, free: 40.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.5747, allocations: 91.14 kB / 0.5737 GB, free: 40 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.5748, allocations: 120.4 kB / 0.5738 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.5749, allocations: 79.91 kB / 0.5739 GB, free: 39.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.575, allocations: 329.3 kB / 0.5742 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.5752, allocations: 125.4 kB / 0.5743 GB, free: 39.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.5754, allocations: 217.4 kB / 0.5745 GB, free: 39.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.5759, allocations: 367.1 kB / 0.5749 GB, free: 39.08 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.576, allocations: 3.938 kB / 0.5749 GB, free: 39.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001065/0.577, allocations: 0.5255 MB / 0.5754 GB, free: 38.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.577, allocations: 6.031 kB / 0.5754 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5771, allocations: 1.938 kB / 0.5754 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/0.5777, allocations: 156.1 kB / 0.5756 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.578, allocations: 79.06 kB / 0.5756 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.5799, allocations: 2.01 MB / 0.5776 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.5801, allocations: 27.94 kB / 0.5776 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5801, allocations: 18.83 kB / 0.5777 GB, free: 37 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 0.0001055/0.5802, allocations: 139.1 kB / 0.5778 GB, free: 36.87 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.5803, allocations: 9.562 kB / 0.5778 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.5803, allocations: 38.75 kB / 0.5778 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5803, allocations: 10.44 kB / 0.5778 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5804, allocations: 1.875 kB / 0.5778 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.5804, allocations: 5.062 kB / 0.5778 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5806, allocations: 293.7 kB / 0.5781 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.5806, allocations: 0 / 0.5781 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.581, allocations: 70.31 kB / 0.5782 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006107/0.5816, allocations: 145 kB / 0.5783 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.5817, allocations: 18.36 kB / 0.5783 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.5836, allocations: 1.995 MB / 0.5803 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5836, allocations: 0 / 0.5803 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5847, allocations: 0.5674 MB / 0.5809 GB, free: 34.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.5847, allocations: 88.73 kB / 0.5809 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.5847, allocations: 18.33 kB / 0.581 GB, free: 34.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.5849, allocations: 6.5 kB / 0.581 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.5849, allocations: 26.06 kB / 0.581 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.5849, allocations: 6.344 kB / 0.581 GB, free: 34.35 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.585, allocations: 86.05 kB / 0.5811 GB, free: 34.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.585, allocations: 0 / 0.5811 GB, free: 34.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000326/0.5853, allocations: 75.28 kB / 0.5811 GB, free: 34.25 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.0001018/0.5854, allocations: 121.3 kB / 0.5813 GB, free: 34.15 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009031/0.5863, allocations: 0.4894 MB / 0.5817 GB, free: 33.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5863, allocations: 0 / 0.5817 GB, free: 33.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.5869, allocations: 339.1 kB / 0.5821 GB, free: 33.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.5871, allocations: 15.47 kB / 0.5821 GB, free: 33.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.5888, allocations: 1.509 MB / 0.5835 GB, free: 32.44 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.589, allocations: 0.7443 MB / 0.5843 GB, free: 31.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000132/0.5892, allocations: 68.22 kB / 0.5843 GB, free: 31.69 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.5892, allocations: 16.47 kB / 0.5844 GB, free: 31.68 MB / 462.3 MB Notification: Performance of SimCode: time 4.51e-07/0.5892, allocations: 1.25 kB / 0.5844 GB, free: 31.68 MB / 462.3 MB Notification: Performance of Templates: time 0.005382/0.5946, allocations: 2.695 MB / 0.587 GB, free: 30.4 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches