Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001124/0.001123, allocations: 88.16 kB / 16.31 MB, free: 5.543 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.001509/0.001509, allocations: 181.5 kB / 17.21 MB, free: 5.461 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.419/1.419, allocations: 223.3 MB / 241.2 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9875/0.9875, allocations: 120.5 MB / 412.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003166, allocations: 12 kB / 0.4943 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5312, allocations: 82.83 MB / 0.5752 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001013/0.5322, allocations: 0.9419 MB / 0.5761 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.5324, allocations: 46.17 kB / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.5325, allocations: 0 / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.165e-05/0.5325, allocations: 9.328 kB / 0.5761 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.5326, allocations: 10.83 kB / 0.5761 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.5327, allocations: 16.03 kB / 0.5762 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.533, allocations: 212.8 kB / 0.5764 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.533, allocations: 6.062 kB / 0.5764 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.5331, allocations: 86.34 kB / 0.5764 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.5332, allocations: 84.88 kB / 0.5765 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.5332, allocations: 11.09 kB / 0.5765 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.044e-05/0.5333, allocations: 11.16 kB / 0.5766 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.5333, allocations: 66.77 kB / 0.5766 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.5334, allocations: 39.73 kB / 0.5767 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.764e-05/0.5335, allocations: 91.53 kB / 0.5767 GB, free: 40.17 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5335, allocations: 0 / 0.5767 GB, free: 40.17 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5335, allocations: 1.031 kB / 0.5767 GB, free: 40.17 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.5335, allocations: 0 / 0.5767 GB, free: 40.17 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.0007465/0.5343, allocations: 0.5092 MB / 0.5772 GB, free: 39.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5343, allocations: 9.531 kB / 0.5772 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.5344, allocations: 23.44 kB / 0.5773 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.5345, allocations: 193.1 kB / 0.5775 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.5345, allocations: 11.56 kB / 0.5775 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.5346, allocations: 36.12 kB / 0.5775 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.5349, allocations: 182.8 kB / 0.5777 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5349, allocations: 3.031 kB / 0.5777 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5349, allocations: 5.062 kB / 0.5777 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5349, allocations: 7.016 kB / 0.5777 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.5351, allocations: 110.1 kB / 0.5778 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.5354, allocations: 305.8 kB / 0.5781 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.5359, allocations: 259.7 kB / 0.5783 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.5361, allocations: 123.8 kB / 0.5784 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.5361, allocations: 7.234 kB / 0.5785 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.5361, allocations: 40.81 kB / 0.5785 GB, free: 38.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.302e-06/0.5361, allocations: 0 / 0.5785 GB, free: 38.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001391/0.5375, allocations: 0.6288 MB / 0.5791 GB, free: 38.42 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5376, allocations: 54.25 kB / 0.5792 GB, free: 38.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.5376, allocations: 107.3 kB / 0.5793 GB, free: 38.25 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5376, allocations: 31.11 kB / 0.5793 GB, free: 38.21 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.5377, allocations: 91.39 kB / 0.5794 GB, free: 38.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.5377, allocations: 123.9 kB / 0.5795 GB, free: 38.01 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.5377, allocations: 5.375 kB / 0.5795 GB, free: 38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.5378, allocations: 332.3 kB / 0.5798 GB, free: 37.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.538, allocations: 124.3 kB / 0.5799 GB, free: 37.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.5382, allocations: 216.3 kB / 0.5801 GB, free: 37.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.5384, allocations: 161.2 kB / 0.5803 GB, free: 37.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5384, allocations: 5.312 kB / 0.5803 GB, free: 37.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008529/0.5393, allocations: 0.5127 MB / 0.5808 GB, free: 37.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5393, allocations: 8.031 kB / 0.5808 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.5393, allocations: 2.781 kB / 0.5808 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.5399, allocations: 151.5 kB / 0.581 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.5402, allocations: 86.25 kB / 0.581 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.5422, allocations: 1.997 MB / 0.583 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.5423, allocations: 35.06 kB / 0.583 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.5423, allocations: 11.81 kB / 0.583 GB, free: 35.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/0.5424, allocations: 138.7 kB / 0.5832 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.5425, allocations: 13.17 kB / 0.5832 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.5426, allocations: 38.56 kB / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5426, allocations: 3.75 kB / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5426, allocations: 2.531 kB / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5426, allocations: 4.172 kB / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.5428, allocations: 306 kB / 0.5835 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5429, allocations: 288 / 0.5835 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.5432, allocations: 74.12 kB / 0.5836 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.5437, allocations: 144.1 kB / 0.5837 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.5438, allocations: 19.58 kB / 0.5837 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5456, allocations: 1.993 MB / 0.5857 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5456, allocations: 1.25 kB / 0.5857 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.5466, allocations: 0.5778 MB / 0.5863 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.5466, allocations: 88.64 kB / 0.5863 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.5467, allocations: 15.39 kB / 0.5864 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.5468, allocations: 4.906 kB / 0.5864 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.5468, allocations: 19.03 kB / 0.5864 GB, free: 32.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.5468, allocations: 13.55 kB / 0.5864 GB, free: 32.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.216e-05/0.5469, allocations: 78.03 kB / 0.5865 GB, free: 32.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5469, allocations: 4 kB / 0.5865 GB, free: 32.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003358/0.5472, allocations: 71.2 kB / 0.5865 GB, free: 32.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.5473, allocations: 120.3 kB / 0.5867 GB, free: 32.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008596/0.5482, allocations: 490.3 kB / 0.5871 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.5482, allocations: 4 kB / 0.5871 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.5487, allocations: 328 kB / 0.5874 GB, free: 32.01 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.5489, allocations: 17.95 kB / 0.5875 GB, free: 32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5507, allocations: 1.795 MB / 0.5892 GB, free: 30.52 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.5509, allocations: 0.7396 MB / 0.5899 GB, free: 29.8 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.551, allocations: 64.66 kB / 0.59 GB, free: 29.77 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.5511, allocations: 16.94 kB / 0.59 GB, free: 29.77 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.5511, allocations: 4.938 kB / 0.59 GB, free: 29.76 MB / 462.3 MB Notification: Performance of Templates: time 0.004893/0.556, allocations: 2.581 MB / 0.5925 GB, free: 27.9 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches