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.001176/0.001176, allocations: 92.53 kB / 16.3 MB, free: 5.629 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.001238/0.001238, allocations: 181.4 kB / 17.19 MB, free: 5.562 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.407/1.407, allocations: 223.2 MB / 241.1 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9585/0.9585, allocations: 120.5 MB / 412.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 8 kB / 0.4942 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 82.85 MB / 0.5751 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.00137/0.2007, allocations: 0.9377 MB / 0.576 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.201, allocations: 47.89 kB / 0.576 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.201, allocations: 0 / 0.576 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.836e-05/0.2011, allocations: 3.984 kB / 0.576 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.125e-05/0.2011, allocations: 4 kB / 0.576 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.2013, allocations: 19.91 kB / 0.5761 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2015, allocations: 147.8 kB / 0.5762 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.2016, allocations: 4 kB / 0.5762 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.2017, allocations: 79.92 kB / 0.5763 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2018, allocations: 63.84 kB / 0.5763 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.2018, allocations: 16 kB / 0.5764 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.2018, allocations: 12 kB / 0.5764 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.2019, allocations: 63.8 kB / 0.5764 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.202, allocations: 45.64 kB / 0.5765 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2021, allocations: 88.06 kB / 0.5766 GB, free: 6.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2021, allocations: 0 / 0.5766 GB, free: 6.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2021, allocations: 4 kB / 0.5766 GB, free: 6.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2021, allocations: 0 / 0.5766 GB, free: 6.578 MB / 446.1 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.0009452/0.2031, allocations: 0.4989 MB / 0.577 GB, free: 6.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2031, allocations: 15.95 kB / 0.5771 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.2032, allocations: 15.86 kB / 0.5771 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2034, allocations: 206.9 kB / 0.5773 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2034, allocations: 16 kB / 0.5773 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.2035, allocations: 27.91 kB / 0.5773 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.2038, allocations: 181.5 kB / 0.5775 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2038, allocations: 7.984 kB / 0.5775 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2038, allocations: 4 kB / 0.5775 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2039, allocations: 7.953 kB / 0.5775 GB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.204, allocations: 103.9 kB / 0.5776 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.2044, allocations: 301.4 kB / 0.5779 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.205, allocations: 274.7 kB / 0.5782 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.205, allocations: 7.938 kB / 0.5782 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.205, allocations: 34.56 kB / 0.5782 GB, free: 4.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.262e-06/0.205, allocations: 0 / 0.5782 GB, free: 4.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001634/0.2067, allocations: 0.6291 MB / 0.5788 GB, free: 4.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2067, allocations: 51.41 kB / 0.5789 GB, free: 4.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.2068, allocations: 105.8 kB / 0.579 GB, free: 3.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.2069, allocations: 33.7 kB / 0.579 GB, free: 3.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.2069, allocations: 84.8 kB / 0.5791 GB, free: 3.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.207, allocations: 126.2 kB / 0.5792 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.2071, allocations: 11.94 kB / 0.5792 GB, free: 3.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2072, allocations: 330.8 kB / 0.5795 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2074, allocations: 124.8 kB / 0.5796 GB, free: 3.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2077, allocations: 209.7 kB / 0.5798 GB, free: 2.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.2079, allocations: 167.9 kB / 0.58 GB, free: 2.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2079, allocations: 0 / 0.58 GB, free: 2.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009567/0.2089, allocations: 0.5146 MB / 0.5805 GB, free: 2.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2089, allocations: 8 kB / 0.5805 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.209, allocations: 4 kB / 0.5805 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/0.2096, allocations: 148.7 kB / 0.5807 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2099, allocations: 87.84 kB / 0.5807 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5669/0.7768, allocations: 2.028 MB / 0.5827 GB, free: 15.15 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.7771, allocations: 33.14 kB / 0.5828 GB, free: 15.15 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.7771, allocations: 15.03 kB / 0.5828 GB, free: 15.15 MB / 446.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 0.0001561/0.7773, allocations: 143.2 kB / 0.5829 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.7773, allocations: 17.17 kB / 0.5829 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.7774, allocations: 33.45 kB / 0.583 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.7775, allocations: 3.062 kB / 0.583 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.7775, allocations: 3.281 kB / 0.583 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7775, allocations: 1.453 kB / 0.583 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.7778, allocations: 300.4 kB / 0.5832 GB, free: 14.84 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.7779, allocations: 1.031 kB / 0.5832 GB, free: 14.84 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.7783, allocations: 65.17 kB / 0.5833 GB, free: 14.84 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006644/0.7789, allocations: 155 kB / 0.5835 GB, free: 14.84 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.779, allocations: 18.92 kB / 0.5835 GB, free: 14.84 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.7813, allocations: 2.036 MB / 0.5855 GB, free: 13.59 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7813, allocations: 0 / 0.5855 GB, free: 13.59 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.7824, allocations: 0.5819 MB / 0.586 GB, free: 13.51 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.7825, allocations: 89.11 kB / 0.5861 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.7825, allocations: 13.53 kB / 0.5861 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.7826, allocations: 10.02 kB / 0.5861 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.7827, allocations: 22.94 kB / 0.5862 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.7827, allocations: 9.844 kB / 0.5862 GB, free: 13.41 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.7828, allocations: 79.25 kB / 0.5862 GB, free: 13.33 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7828, allocations: 3.719 kB / 0.5862 GB, free: 13.33 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003489/0.7831, allocations: 73.06 kB / 0.5863 GB, free: 13.33 MB / 446.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.0001202/0.7833, allocations: 109.5 kB / 0.5864 GB, free: 13.25 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.7843, allocations: 496.1 kB / 0.5869 GB, free: 13.13 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7843, allocations: 1.188 kB / 0.5869 GB, free: 13.13 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.7849, allocations: 338 kB / 0.5872 GB, free: 13.01 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.7851, allocations: 7.656 kB / 0.5872 GB, free: 13.01 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.7871, allocations: 1.791 MB / 0.589 GB, free: 11.78 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.7874, allocations: 0.7448 MB / 0.5897 GB, free: 11.09 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.7875, allocations: 65.19 kB / 0.5898 GB, free: 11.09 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.7876, allocations: 17.06 kB / 0.5898 GB, free: 11.08 MB / 446.3 MB Notification: Performance of SimCode: time 2.3e-07/0.7876, allocations: 4 kB / 0.5898 GB, free: 11.07 MB / 446.3 MB Notification: Performance of Templates: time 0.006666/0.7943, allocations: 2.569 MB / 0.5923 GB, free: 10.95 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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