Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001158/0.001158, allocations: 178.5 kB / 17.21 MB, free: 6.32 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.327/1.327, allocations: 223.3 MB / 241.2 MB, free: 268 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9789/0.9789, allocations: 120.5 MB / 412.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 8 kB / 0.4943 GB, free: 11.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5481/0.5484, allocations: 82.83 MB / 0.5752 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001249/0.5497, allocations: 0.9502 MB / 0.5761 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002106/0.55, allocations: 42.42 kB / 0.5761 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.55, allocations: 0 / 0.5761 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.994e-05/0.5501, allocations: 1 kB / 0.5761 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.5502, allocations: 17.97 kB / 0.5761 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.5504, allocations: 17.83 kB / 0.5762 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.5507, allocations: 391.2 kB / 0.5765 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.5508, allocations: 2.812 kB / 0.5765 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.5509, allocations: 151.2 kB / 0.5767 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.5511, allocations: 154.9 kB / 0.5768 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.5512, allocations: 22 kB / 0.5768 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.046e-05/0.5512, allocations: 22 kB / 0.5769 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5513, allocations: 134.4 kB / 0.577 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.5514, allocations: 67.69 kB / 0.5771 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.5515, allocations: 177.6 kB / 0.5772 GB, free: 40.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5516, allocations: 0 / 0.5772 GB, free: 40.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5516, allocations: 0 / 0.5772 GB, free: 40.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.5516, allocations: 0 / 0.5772 GB, free: 40.73 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001362/0.5529, allocations: 0.7242 MB / 0.5779 GB, free: 40.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.553, allocations: 8.156 kB / 0.5779 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.5531, allocations: 27.05 kB / 0.578 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5533, allocations: 234 kB / 0.5782 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.5534, allocations: 31.38 kB / 0.5782 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.5534, allocations: 59.97 kB / 0.5783 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.5539, allocations: 329.2 kB / 0.5786 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.554, allocations: 16.02 kB / 0.5786 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.554, allocations: 6.75 kB / 0.5786 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.554, allocations: 5.5 kB / 0.5786 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.5544, allocations: 220.9 kB / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.555, allocations: 485.8 kB / 0.5793 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008509/0.5558, allocations: 0.4888 MB / 0.5798 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.5562, allocations: 239.8 kB / 0.58 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.5562, allocations: 6.5 kB / 0.58 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5563, allocations: 41.72 kB / 0.58 GB, free: 38.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.754e-06/0.5563, allocations: 3.562 kB / 0.5801 GB, free: 38.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.00327/0.5595, allocations: 1.237 MB / 0.5813 GB, free: 38.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.5596, allocations: 58.59 kB / 0.5813 GB, free: 38.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.5596, allocations: 116.4 kB / 0.5814 GB, free: 37.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5597, allocations: 41.45 kB / 0.5815 GB, free: 37.93 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.5597, allocations: 88.61 kB / 0.5816 GB, free: 37.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5599, allocations: 244.9 kB / 0.5818 GB, free: 37.63 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.5599, allocations: 15.78 kB / 0.5818 GB, free: 37.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.56, allocations: 348.9 kB / 0.5821 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.5603, allocations: 253.2 kB / 0.5824 GB, free: 37.17 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.5608, allocations: 427.3 kB / 0.5828 GB, free: 36.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.5613, allocations: 323.9 kB / 0.5831 GB, free: 36.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5613, allocations: 1.844 kB / 0.5831 GB, free: 36.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001789/0.5631, allocations: 1.002 MB / 0.5841 GB, free: 36.22 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5631, allocations: 9 kB / 0.5841 GB, free: 36.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5631, allocations: 9.219 kB / 0.5841 GB, free: 36.22 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.5642, allocations: 290.8 kB / 0.5844 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.5647, allocations: 164.6 kB / 0.5845 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.5682, allocations: 2.896 MB / 0.5874 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.5685, allocations: 55.44 kB / 0.5874 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.5685, allocations: 31.94 kB / 0.5874 GB, free: 33.53 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.5687, allocations: 181.7 kB / 0.5876 GB, free: 33.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5687, allocations: 27.66 kB / 0.5876 GB, free: 33.32 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.5689, allocations: 57.88 kB / 0.5877 GB, free: 33.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5689, allocations: 8 kB / 0.5877 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.5689, allocations: 3.953 kB / 0.5877 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5689, allocations: 7.984 kB / 0.5877 GB, free: 33.24 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.5693, allocations: 457.5 kB / 0.5881 GB, free: 32.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5694, allocations: 0 / 0.5881 GB, free: 32.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.57, allocations: 131.9 kB / 0.5883 GB, free: 32.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/0.571, allocations: 296.5 kB / 0.5886 GB, free: 32.32 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.571, allocations: 31.97 kB / 0.5886 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.574, allocations: 2.876 MB / 0.5914 GB, free: 29.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.574, allocations: 3.984 kB / 0.5914 GB, free: 29.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.5756, allocations: 1.12 MB / 0.5925 GB, free: 28.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.5757, allocations: 108.7 kB / 0.5926 GB, free: 28.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.5757, allocations: 27.94 kB / 0.5926 GB, free: 27.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5759, allocations: 16 kB / 0.5926 GB, free: 27.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.5759, allocations: 48.42 kB / 0.5927 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.576, allocations: 16 kB / 0.5927 GB, free: 27.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.277e-05/0.576, allocations: 83.27 kB / 0.5928 GB, free: 27.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.576, allocations: 0 / 0.5928 GB, free: 27.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004411/0.5765, allocations: 144 kB / 0.5929 GB, free: 27.69 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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]) * 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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.5766, allocations: 135.1 kB / 0.593 GB, free: 27.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.578, allocations: 0.8884 MB / 0.5939 GB, free: 26.65 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5781, allocations: 256 / 0.5939 GB, free: 26.65 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.5789, allocations: 0.5554 MB / 0.5945 GB, free: 26.08 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.5792, allocations: 23.69 kB / 0.5945 GB, free: 26.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.5823, allocations: 3.486 MB / 0.5979 GB, free: 22.54 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.5826, allocations: 0.812 MB / 0.5987 GB, free: 21.71 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.5828, allocations: 143.1 kB / 0.5988 GB, free: 21.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.5829, allocations: 27.44 kB / 0.5988 GB, free: 21.54 MB / 462.3 MB Notification: Performance of SimCode: time 5.41e-07/0.5829, allocations: 0 / 0.5988 GB, free: 21.54 MB / 462.3 MB Notification: Performance of Templates: time 0.00731/0.5902, allocations: 4.903 MB / 0.6036 GB, free: 16.68 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches