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.001199/0.001199, allocations: 85.08 kB / 17.3 MB, free: 5.949 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.00147/0.00147, allocations: 175.3 kB / 18.21 MB, free: 5.426 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.393/1.393, allocations: 223.3 MB / 242.3 MB, free: 14.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.017/1.017, allocations: 120.5 MB / 413.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 16 kB / 0.4955 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.606, allocations: 82.83 MB / 0.5764 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001216/0.6073, allocations: 0.9507 MB / 0.5774 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.6075, allocations: 50.23 kB / 0.5774 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.6075, allocations: 1.062 kB / 0.5774 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.023e-05/0.6076, allocations: 0 / 0.5774 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.6077, allocations: 10.23 kB / 0.5774 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.6078, allocations: 21.53 kB / 0.5774 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.6083, allocations: 455.2 kB / 0.5779 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.6083, allocations: 7.219 kB / 0.5779 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.6085, allocations: 155.1 kB / 0.578 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.6087, allocations: 150.1 kB / 0.5782 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.6088, allocations: 23.47 kB / 0.5782 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.6088, allocations: 22.44 kB / 0.5782 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.609, allocations: 123.6 kB / 0.5783 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.6091, allocations: 167.3 kB / 0.5785 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.6093, allocations: 180.7 kB / 0.5787 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6093, allocations: 6.344 kB / 0.5787 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6093, allocations: 0 / 0.5787 GB, free: 39.81 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.6093, allocations: 0 / 0.5787 GB, free: 39.81 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.001525/0.6109, allocations: 0.7245 MB / 0.5794 GB, free: 39.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6109, allocations: 9.188 kB / 0.5794 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.611, allocations: 23.38 kB / 0.5794 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.6113, allocations: 235 kB / 0.5796 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.6113, allocations: 36.88 kB / 0.5797 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.6115, allocations: 60.02 kB / 0.5797 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.612, allocations: 326.5 kB / 0.58 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.612, allocations: 13.59 kB / 0.5801 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.6121, allocations: 13.31 kB / 0.5801 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6121, allocations: 6.875 kB / 0.5801 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.6124, allocations: 216.4 kB / 0.5803 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.613, allocations: 477.8 kB / 0.5807 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.6138, allocations: 495.7 kB / 0.5812 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.6142, allocations: 242.1 kB / 0.5814 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.6142, allocations: 10.94 kB / 0.5815 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6143, allocations: 37.91 kB / 0.5815 GB, free: 37.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.6143, allocations: 0 / 0.5815 GB, free: 37.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.0038/0.6181, allocations: 1.251 MB / 0.5827 GB, free: 37.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.6181, allocations: 58.25 kB / 0.5828 GB, free: 37.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.6182, allocations: 113.4 kB / 0.5829 GB, free: 37.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.6182, allocations: 45.48 kB / 0.5829 GB, free: 37.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.6183, allocations: 87.98 kB / 0.583 GB, free: 36.92 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.6184, allocations: 249.5 kB / 0.5832 GB, free: 36.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.6185, allocations: 87.72 kB / 0.5833 GB, free: 36.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.6186, allocations: 340.8 kB / 0.5836 GB, free: 36.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.619, allocations: 260.2 kB / 0.5839 GB, free: 36.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.6195, allocations: 428.9 kB / 0.5843 GB, free: 35.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/0.6204, allocations: 0.7233 MB / 0.585 GB, free: 35.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6204, allocations: 1.25 kB / 0.585 GB, free: 35.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001937/0.6223, allocations: 1.005 MB / 0.586 GB, free: 34.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6223, allocations: 11.5 kB / 0.586 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6224, allocations: 4.688 kB / 0.586 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.6236, allocations: 301 kB / 0.5863 GB, free: 34.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.6241, allocations: 164.7 kB / 0.5865 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.6279, allocations: 2.899 MB / 0.5893 GB, free: 32.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.6282, allocations: 55.44 kB / 0.5893 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.6282, allocations: 24 kB / 0.5894 GB, free: 32.55 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.6284, allocations: 177.7 kB / 0.5895 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.6285, allocations: 31.59 kB / 0.5896 GB, free: 32.33 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.6286, allocations: 61.88 kB / 0.5896 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6286, allocations: 4 kB / 0.5896 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.6287, allocations: 4 kB / 0.5896 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6287, allocations: 7.984 kB / 0.5896 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.6291, allocations: 457.5 kB / 0.5901 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6291, allocations: 0 / 0.5901 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.6298, allocations: 135.9 kB / 0.5902 GB, free: 31.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.6308, allocations: 300.4 kB / 0.5905 GB, free: 31.33 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.6309, allocations: 27.97 kB / 0.5905 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.634, allocations: 2.885 MB / 0.5933 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.634, allocations: 0 / 0.5933 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6357, allocations: 1.136 MB / 0.5944 GB, free: 27.13 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.6358, allocations: 100.8 kB / 0.5945 GB, free: 27.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.6358, allocations: 31.97 kB / 0.5946 GB, free: 26.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.636, allocations: 12 kB / 0.5946 GB, free: 26.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.6361, allocations: 44.5 kB / 0.5946 GB, free: 26.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.6361, allocations: 15.98 kB / 0.5946 GB, free: 26.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.6362, allocations: 79.28 kB / 0.5947 GB, free: 26.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6362, allocations: 0 / 0.5947 GB, free: 26.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004577/0.6366, allocations: 144 kB / 0.5948 GB, free: 26.7 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.6368, allocations: 135.7 kB / 0.595 GB, free: 26.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.6383, allocations: 0.8919 MB / 0.5958 GB, free: 25.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6383, allocations: 4.188 kB / 0.5959 GB, free: 25.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009722/0.6393, allocations: 0.5511 MB / 0.5964 GB, free: 25.08 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.6395, allocations: 24 kB / 0.5964 GB, free: 25.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.6426, allocations: 3.549 MB / 0.5999 GB, free: 21.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.6428, allocations: 0.8091 MB / 0.6007 GB, free: 20.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.6429, allocations: 27.44 kB / 0.6007 GB, free: 20.61 MB / 462.3 MB Notification: Performance of SimCode: time 6.62e-07/0.6429, allocations: 0 / 0.6007 GB, free: 20.61 MB / 462.3 MB Notification: Performance of Templates: time 0.005511/0.6484, allocations: 4.542 MB / 0.6051 GB, free: 16.09 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/jenkins1/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