Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.000989/0.0009889, allocations: 90.48 kB / 16.65 MB, free: 6.586 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.001024/0.001025, allocations: 187.6 kB / 17.57 MB, free: 6.199 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.438/1.438, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.015/1.015, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 8 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5764, allocations: 82.84 MB / 0.5758 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001082/0.5775, allocations: 0.9541 MB / 0.5767 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.5777, allocations: 47.39 kB / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.5777, allocations: 0 / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.5778, allocations: 4 kB / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.5779, allocations: 7.359 kB / 0.5768 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.5781, allocations: 27.98 kB / 0.5768 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.5784, allocations: 452.3 kB / 0.5772 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.5785, allocations: 1.875 kB / 0.5772 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.5786, allocations: 151.4 kB / 0.5774 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.5789, allocations: 152 kB / 0.5775 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.5789, allocations: 21.97 kB / 0.5775 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.579, allocations: 22.16 kB / 0.5776 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5791, allocations: 127.8 kB / 0.5777 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.5792, allocations: 168 kB / 0.5779 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.5794, allocations: 226.8 kB / 0.5781 GB, free: 40.39 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5795, allocations: 5.375 kB / 0.5781 GB, free: 40.39 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5795, allocations: 0 / 0.5781 GB, free: 40.39 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.5795, allocations: 0 / 0.5781 GB, free: 40.39 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.001433/0.5809, allocations: 0.725 MB / 0.5788 GB, free: 39.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.581, allocations: 9.469 kB / 0.5788 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.581, allocations: 24.38 kB / 0.5788 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5813, allocations: 238.8 kB / 0.579 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.5813, allocations: 27.69 kB / 0.5791 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5814, allocations: 55.56 kB / 0.5791 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.582, allocations: 331.7 kB / 0.5794 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.582, allocations: 12.7 kB / 0.5794 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.582, allocations: 14.69 kB / 0.5795 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.582, allocations: 5.531 kB / 0.5795 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.5824, allocations: 224.7 kB / 0.5797 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.583, allocations: 474.7 kB / 0.5801 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/0.5838, allocations: 498.2 kB / 0.5806 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.5841, allocations: 234.3 kB / 0.5808 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.5841, allocations: 14.8 kB / 0.5808 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.5841, allocations: 45.58 kB / 0.5809 GB, free: 38.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.673e-06/0.5841, allocations: 4 kB / 0.5809 GB, free: 38.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003816/0.588, allocations: 1.252 MB / 0.5821 GB, free: 37.8 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.588, allocations: 61.59 kB / 0.5822 GB, free: 37.74 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.5881, allocations: 106.2 kB / 0.5823 GB, free: 37.63 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.5882, allocations: 44.47 kB / 0.5823 GB, free: 37.59 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.5882, allocations: 93.14 kB / 0.5824 GB, free: 37.49 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5884, allocations: 244.2 kB / 0.5826 GB, free: 37.28 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.5884, allocations: 88.33 kB / 0.5827 GB, free: 37.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.5885, allocations: 344.9 kB / 0.5831 GB, free: 36.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.5889, allocations: 260.5 kB / 0.5833 GB, free: 36.77 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.5894, allocations: 430.5 kB / 0.5837 GB, free: 36.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.5903, allocations: 0.7109 MB / 0.5844 GB, free: 36.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5904, allocations: 1.219 kB / 0.5844 GB, free: 36.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001922/0.5923, allocations: 1.017 MB / 0.5854 GB, free: 35.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5923, allocations: 10.22 kB / 0.5854 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5924, allocations: 5.219 kB / 0.5854 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.5936, allocations: 299.1 kB / 0.5857 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.5942, allocations: 167 kB / 0.5859 GB, free: 35.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.5978, allocations: 2.895 MB / 0.5887 GB, free: 32.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.5982, allocations: 59.5 kB / 0.5887 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.5983, allocations: 28 kB / 0.5888 GB, free: 32.47 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.0002059/0.5985, allocations: 177.6 kB / 0.5889 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.5986, allocations: 23.66 kB / 0.589 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.5987, allocations: 65.86 kB / 0.589 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5988, allocations: 4 kB / 0.589 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.5988, allocations: 4 kB / 0.589 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5988, allocations: 0 / 0.589 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.5992, allocations: 465.5 kB / 0.5895 GB, free: 31.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5992, allocations: 0 / 0.5895 GB, free: 31.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.5999, allocations: 131.9 kB / 0.5896 GB, free: 31.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.601, allocations: 284.5 kB / 0.5899 GB, free: 31.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.6011, allocations: 27.97 kB / 0.5899 GB, free: 31.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.6045, allocations: 2.903 MB / 0.5927 GB, free: 28.22 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6045, allocations: 0 / 0.5927 GB, free: 28.22 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.6064, allocations: 1.139 MB / 0.5938 GB, free: 27.06 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.6065, allocations: 100.8 kB / 0.5939 GB, free: 26.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.6066, allocations: 27.97 kB / 0.594 GB, free: 26.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.6068, allocations: 16 kB / 0.594 GB, free: 26.9 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.6069, allocations: 40.5 kB / 0.594 GB, free: 26.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.607, allocations: 19.98 kB / 0.594 GB, free: 26.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.486e-05/0.607, allocations: 75.28 kB / 0.5941 GB, free: 26.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.607, allocations: 7.938 kB / 0.5941 GB, free: 26.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000496/0.6075, allocations: 144 kB / 0.5943 GB, free: 26.62 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.0001595/0.6077, allocations: 135.7 kB / 0.5944 GB, free: 26.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.6094, allocations: 0.8872 MB / 0.5953 GB, free: 25.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.6094, allocations: 0 / 0.5953 GB, free: 25.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6105, allocations: 0.5639 MB / 0.5958 GB, free: 25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.6108, allocations: 32.8 kB / 0.5958 GB, free: 24.97 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.614, allocations: 3.502 MB / 0.5993 GB, free: 21.43 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.6142, allocations: 0.8091 MB / 0.6 GB, free: 20.6 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.6145, allocations: 147.1 kB / 0.6002 GB, free: 20.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.6146, allocations: 27.44 kB / 0.6002 GB, free: 20.43 MB / 462.3 MB Notification: Performance of SimCode: time 6.91e-07/0.6146, allocations: 0 / 0.6002 GB, free: 20.43 MB / 462.3 MB Notification: Performance of Templates: time 0.008756/0.6234, allocations: 5.016 MB / 0.6051 GB, free: 15.45 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches