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.001339/0.001339, allocations: 105 kB / 17.59 MB, free: 5.418 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.001388/0.001388, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8977/0.8977, allocations: 119.3 MB / 411.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 59.91 kB / 0.4916 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4729, allocations: 80.68 MB / 0.5704 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002095/0.4751, allocations: 1.236 MB / 0.5716 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001855/0.4753, allocations: 38.98 kB / 0.5716 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.4753, allocations: 0 / 0.5716 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.407e-05/0.4754, allocations: 8.859 kB / 0.5716 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.4755, allocations: 10.22 kB / 0.5717 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.4756, allocations: 28.44 kB / 0.5717 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.4759, allocations: 438.2 kB / 0.5721 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.476, allocations: 3.625 kB / 0.5721 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4761, allocations: 151.9 kB / 0.5722 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.4763, allocations: 139.9 kB / 0.5724 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.4764, allocations: 22 kB / 0.5724 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.4765, allocations: 27.22 kB / 0.5724 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4766, allocations: 131.6 kB / 0.5726 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.4767, allocations: 146.3 kB / 0.5727 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.4769, allocations: 228.6 kB / 0.5729 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4769, allocations: 0 / 0.5729 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4769, allocations: 0 / 0.5729 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4769, allocations: 1.75 kB / 0.5729 GB, free: 41.58 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.001482/0.4784, allocations: 0.7607 MB / 0.5737 GB, free: 41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4785, allocations: 14.45 kB / 0.5737 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.4785, allocations: 22.72 kB / 0.5737 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.4788, allocations: 239.7 kB / 0.5739 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4788, allocations: 31.53 kB / 0.5739 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.4789, allocations: 59.86 kB / 0.574 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.4794, allocations: 328.4 kB / 0.5743 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.4794, allocations: 11.84 kB / 0.5743 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.4794, allocations: 14.09 kB / 0.5743 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4795, allocations: 6.688 kB / 0.5743 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.4798, allocations: 219.8 kB / 0.5746 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.4803, allocations: 478.4 kB / 0.575 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.4811, allocations: 492.4 kB / 0.5755 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.4814, allocations: 242.4 kB / 0.5757 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.4814, allocations: 10.19 kB / 0.5757 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4814, allocations: 38.69 kB / 0.5758 GB, free: 39.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.793e-06/0.4814, allocations: 0 / 0.5758 GB, free: 39.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003678/0.4851, allocations: 1.256 MB / 0.577 GB, free: 38.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.4852, allocations: 57.47 kB / 0.577 GB, free: 38.92 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.4852, allocations: 110.1 kB / 0.5771 GB, free: 38.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.4853, allocations: 40.45 kB / 0.5772 GB, free: 38.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.4853, allocations: 92.2 kB / 0.5773 GB, free: 38.67 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4854, allocations: 249.3 kB / 0.5775 GB, free: 38.45 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.4856, allocations: 154 kB / 0.5777 GB, free: 38.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.4857, allocations: 348.4 kB / 0.578 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.4861, allocations: 256.7 kB / 0.5782 GB, free: 37.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.4865, allocations: 424.6 kB / 0.5786 GB, free: 37.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009594/0.4875, allocations: 0.7194 MB / 0.5793 GB, free: 37.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4875, allocations: 0.9062 kB / 0.5793 GB, free: 37.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001827/0.4893, allocations: 1.013 MB / 0.5803 GB, free: 36.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4894, allocations: 11.62 kB / 0.5803 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4894, allocations: 5.031 kB / 0.5803 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4906, allocations: 297.5 kB / 0.5806 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.4911, allocations: 164.3 kB / 0.5808 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.4948, allocations: 3.118 MB / 0.5838 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.4951, allocations: 56.94 kB / 0.5839 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.4952, allocations: 30.59 kB / 0.5839 GB, free: 34.17 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.0001654/0.4954, allocations: 181.9 kB / 0.5841 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.4954, allocations: 17.88 kB / 0.5841 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.4955, allocations: 64.28 kB / 0.5842 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4955, allocations: 10.41 kB / 0.5842 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.4956, allocations: 3.562 kB / 0.5842 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4956, allocations: 3.984 kB / 0.5842 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.496, allocations: 454.8 kB / 0.5846 GB, free: 33.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.496, allocations: 0 / 0.5846 GB, free: 33.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.4967, allocations: 132 kB / 0.5847 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.4979, allocations: 294.2 kB / 0.585 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.4979, allocations: 26.22 kB / 0.5851 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/0.5014, allocations: 3.112 MB / 0.5881 GB, free: 30.83 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5015, allocations: 0 / 0.5881 GB, free: 30.83 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5031, allocations: 1.135 MB / 0.5892 GB, free: 29.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.5032, allocations: 100.8 kB / 0.5893 GB, free: 29.56 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.5032, allocations: 31.91 kB / 0.5893 GB, free: 29.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.5034, allocations: 12 kB / 0.5893 GB, free: 29.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-05/0.5035, allocations: 44.5 kB / 0.5894 GB, free: 29.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.5036, allocations: 15.98 kB / 0.5894 GB, free: 29.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.106e-05/0.5036, allocations: 79.28 kB / 0.5895 GB, free: 29.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5036, allocations: 0 / 0.5895 GB, free: 29.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004564/0.5041, allocations: 144 kB / 0.5896 GB, free: 29.24 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.000121/0.5042, allocations: 136.8 kB / 0.5897 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.5058, allocations: 1.055 MB / 0.5908 GB, free: 28.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5059, allocations: 0 / 0.5908 GB, free: 28.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.5068, allocations: 0.5713 MB / 0.5913 GB, free: 27.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.507, allocations: 23.94 kB / 0.5914 GB, free: 27.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.5099, allocations: 2.927 MB / 0.5942 GB, free: 24.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.5101, allocations: 0.8089 MB / 0.595 GB, free: 23.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.5101, allocations: 31.44 kB / 0.595 GB, free: 23.59 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.5101, allocations: 4 kB / 0.595 GB, free: 23.59 MB / 462.3 MB Notification: Performance of Templates: time 0.005144/0.5153, allocations: 4.565 MB / 0.5995 GB, free: 19.04 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches