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.001582/0.001583, allocations: 110.7 kB / 16.51 MB, free: 6.707 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.001709/0.00171, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9579/0.9579, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.84 kB / 0.4902 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4811, allocations: 80.68 MB / 0.569 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002164/0.4834, allocations: 1.296 MB / 0.5703 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.4836, allocations: 39.69 kB / 0.5703 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.4836, allocations: 0 / 0.5703 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.4837, allocations: 7.875 kB / 0.5704 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.4838, allocations: 13.88 kB / 0.5704 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.4839, allocations: 24.47 kB / 0.5704 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.4843, allocations: 451.1 kB / 0.5708 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.4844, allocations: 12.28 kB / 0.5708 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4845, allocations: 145.7 kB / 0.571 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.4847, allocations: 147.3 kB / 0.5711 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.4848, allocations: 22.69 kB / 0.5711 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.4848, allocations: 22.19 kB / 0.5712 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.485, allocations: 128.7 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.4851, allocations: 141.2 kB / 0.5714 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.4853, allocations: 231.4 kB / 0.5716 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4853, allocations: 1.188 kB / 0.5716 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4853, allocations: 4 kB / 0.5716 GB, free: 41.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4853, allocations: 0 / 0.5716 GB, free: 41.65 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.00141/0.4867, allocations: 0.7585 MB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4868, allocations: 9.719 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.4869, allocations: 24.41 kB / 0.5724 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4871, allocations: 243.2 kB / 0.5726 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.4871, allocations: 27.41 kB / 0.5727 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4872, allocations: 56.06 kB / 0.5727 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.4878, allocations: 331.2 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.4878, allocations: 16.45 kB / 0.5731 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.4878, allocations: 11.47 kB / 0.5731 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4878, allocations: 5.469 kB / 0.5731 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.4882, allocations: 216.7 kB / 0.5733 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.4887, allocations: 481.5 kB / 0.5737 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.4896, allocations: 492.2 kB / 0.5742 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.4899, allocations: 242.6 kB / 0.5744 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.4899, allocations: 10.66 kB / 0.5744 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.49, allocations: 41.69 kB / 0.5745 GB, free: 39.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/0.49, allocations: 0 / 0.5745 GB, free: 39.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003696/0.4937, allocations: 1.247 MB / 0.5757 GB, free: 39.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4937, allocations: 63 kB / 0.5758 GB, free: 39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.4938, allocations: 112.2 kB / 0.5759 GB, free: 38.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4938, allocations: 42.2 kB / 0.5759 GB, free: 38.84 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.4939, allocations: 91.55 kB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.494, allocations: 253.5 kB / 0.5762 GB, free: 38.53 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4942, allocations: 146 kB / 0.5764 GB, free: 38.45 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.4943, allocations: 348.7 kB / 0.5767 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.4946, allocations: 255.9 kB / 0.577 GB, free: 38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.4951, allocations: 424.5 kB / 0.5774 GB, free: 37.68 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.4961, allocations: 0.7272 MB / 0.5781 GB, free: 37.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.4961, allocations: 1.844 kB / 0.5781 GB, free: 37.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001882/0.498, allocations: 1.013 MB / 0.5791 GB, free: 36.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.498, allocations: 7.062 kB / 0.5791 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.498, allocations: 5.062 kB / 0.5791 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.4992, allocations: 301.9 kB / 0.5794 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.4997, allocations: 164.2 kB / 0.5795 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/0.5034, allocations: 2.879 MB / 0.5823 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.5036, allocations: 53.22 kB / 0.5824 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.5037, allocations: 30.38 kB / 0.5824 GB, free: 34.42 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.0001711/0.5039, allocations: 182.4 kB / 0.5826 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.5039, allocations: 25.53 kB / 0.5826 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.504, allocations: 60.38 kB / 0.5827 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5041, allocations: 6.094 kB / 0.5827 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/0.5041, allocations: 3.812 kB / 0.5827 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5041, allocations: 3.984 kB / 0.5827 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.5045, allocations: 458.6 kB / 0.5831 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5045, allocations: 4 kB / 0.5831 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.5053, allocations: 136.6 kB / 0.5833 GB, free: 33.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.5065, allocations: 286.4 kB / 0.5835 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.5065, allocations: 28.84 kB / 0.5836 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.51, allocations: 2.875 MB / 0.5864 GB, free: 31.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5101, allocations: 0 / 0.5864 GB, free: 31.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5118, allocations: 1.139 MB / 0.5875 GB, free: 30.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.5118, allocations: 104.8 kB / 0.5876 GB, free: 30.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.5119, allocations: 19.98 kB / 0.5876 GB, free: 30.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5121, allocations: 12 kB / 0.5876 GB, free: 30.19 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.5122, allocations: 52.42 kB / 0.5877 GB, free: 30.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.5122, allocations: 16 kB / 0.5877 GB, free: 30.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.342e-05/0.5122, allocations: 79.28 kB / 0.5877 GB, free: 30.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5122, allocations: 0 / 0.5877 GB, free: 30.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005111/0.5127, allocations: 144 kB / 0.5879 GB, free: 29.9 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.0001363/0.5129, allocations: 139.7 kB / 0.588 GB, free: 29.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5144, allocations: 0.8871 MB / 0.5889 GB, free: 28.85 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5145, allocations: 0 / 0.5889 GB, free: 28.85 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008956/0.5154, allocations: 0.5601 MB / 0.5894 GB, free: 28.28 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.5156, allocations: 16 kB / 0.5894 GB, free: 28.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.5188, allocations: 2.971 MB / 0.5923 GB, free: 25.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.519, allocations: 0.8091 MB / 0.5931 GB, free: 24.43 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.5193, allocations: 147.1 kB / 0.5933 GB, free: 24.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.5194, allocations: 23.44 kB / 0.5933 GB, free: 24.26 MB / 462.3 MB Notification: Performance of SimCode: time 7.32e-07/0.5194, allocations: 3.938 kB / 0.5933 GB, free: 24.26 MB / 462.3 MB Notification: Performance of Templates: time 0.008027/0.5274, allocations: 5.125 MB / 0.5983 GB, free: 19.17 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