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.001207/0.001207, allocations: 111.4 kB / 16.92 MB, free: 5.895 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.001223/0.001223, allocations: 191.3 kB / 17.85 MB, free: 5.191 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.184/1.184, allocations: 222.9 MB / 241.5 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.788/0.788, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4855, allocations: 80.69 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002202/0.4878, allocations: 1.222 MB / 0.5709 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.488, allocations: 47.05 kB / 0.571 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.488, allocations: 1.094 kB / 0.571 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.566e-05/0.4881, allocations: 3.938 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.4882, allocations: 10.36 kB / 0.571 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.4883, allocations: 16.56 kB / 0.571 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.4887, allocations: 450.8 kB / 0.5714 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.313e-05/0.4887, allocations: 2.781 kB / 0.5714 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.4888, allocations: 151.7 kB / 0.5716 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.489, allocations: 148.2 kB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.4891, allocations: 22.38 kB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.765e-05/0.4892, allocations: 22.06 kB / 0.5718 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4893, allocations: 132.8 kB / 0.5719 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.4894, allocations: 137.9 kB / 0.572 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.4896, allocations: 236.7 kB / 0.5722 GB, free: 41.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4896, allocations: 0 / 0.5722 GB, free: 41.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4896, allocations: 0 / 0.5722 GB, free: 41.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4896, allocations: 1.25 kB / 0.5722 GB, free: 41.63 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.001455/0.4911, allocations: 0.7585 MB / 0.573 GB, free: 41.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4912, allocations: 12.55 kB / 0.573 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.4912, allocations: 23.47 kB / 0.573 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.4915, allocations: 243.4 kB / 0.5733 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4916, allocations: 31.12 kB / 0.5733 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/0.4916, allocations: 56.55 kB / 0.5733 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.4921, allocations: 331.4 kB / 0.5737 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.4922, allocations: 9.125 kB / 0.5737 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.4922, allocations: 15.06 kB / 0.5737 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4922, allocations: 5.125 kB / 0.5737 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.4926, allocations: 219.9 kB / 0.5739 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.4931, allocations: 474.5 kB / 0.5743 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.4939, allocations: 0.4883 MB / 0.5748 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.4942, allocations: 238.4 kB / 0.5751 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.4943, allocations: 11.41 kB / 0.5751 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4943, allocations: 37 kB / 0.5751 GB, free: 39.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 2.225e-06/0.4943, allocations: 0 / 0.5751 GB, free: 39.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003547/0.4979, allocations: 1.252 MB / 0.5763 GB, free: 39.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.4979, allocations: 61.25 kB / 0.5764 GB, free: 38.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.498, allocations: 106 kB / 0.5765 GB, free: 38.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.498, allocations: 44.98 kB / 0.5765 GB, free: 38.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.4981, allocations: 96.67 kB / 0.5766 GB, free: 38.73 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.4982, allocations: 244.6 kB / 0.5768 GB, free: 38.51 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4984, allocations: 149.4 kB / 0.577 GB, free: 38.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.4985, allocations: 348.9 kB / 0.5773 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.4989, allocations: 256 kB / 0.5776 GB, free: 37.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.4993, allocations: 425.5 kB / 0.578 GB, free: 37.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.5002, allocations: 0.7231 MB / 0.5787 GB, free: 37.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.5002, allocations: 0.9375 kB / 0.5787 GB, free: 37.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001796/0.502, allocations: 1.01 MB / 0.5797 GB, free: 36.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.502, allocations: 10.34 kB / 0.5797 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5021, allocations: 5.031 kB / 0.5797 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.504, allocations: 294.6 kB / 0.58 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.505, allocations: 168.2 kB / 0.5801 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.5095, allocations: 3.127 MB / 0.5832 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.5098, allocations: 53.44 kB / 0.5832 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.5098, allocations: 31.02 kB / 0.5833 GB, free: 34.22 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.000169/0.51, allocations: 178.6 kB / 0.5834 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.5101, allocations: 21.27 kB / 0.5834 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.5102, allocations: 63.97 kB / 0.5835 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5102, allocations: 6.344 kB / 0.5835 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.5102, allocations: 3.562 kB / 0.5835 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5102, allocations: 7.922 kB / 0.5835 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.5106, allocations: 454.4 kB / 0.584 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5107, allocations: 0 / 0.584 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.5113, allocations: 135.7 kB / 0.5841 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.5124, allocations: 290.8 kB / 0.5844 GB, free: 33.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.5125, allocations: 29.78 kB / 0.5844 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.5158, allocations: 3.106 MB / 0.5874 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5158, allocations: 0 / 0.5874 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.5174, allocations: 1.135 MB / 0.5885 GB, free: 29.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.5175, allocations: 100.8 kB / 0.5886 GB, free: 29.56 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.5176, allocations: 27.92 kB / 0.5887 GB, free: 29.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.5177, allocations: 15.98 kB / 0.5887 GB, free: 29.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.5178, allocations: 40.5 kB / 0.5887 GB, free: 29.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.5179, allocations: 20 kB / 0.5887 GB, free: 29.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.104e-05/0.5179, allocations: 87.19 kB / 0.5888 GB, free: 29.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5179, allocations: 0 / 0.5888 GB, free: 29.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004655/0.5184, allocations: 152 kB / 0.589 GB, free: 29.23 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.0001362/0.5185, allocations: 128.5 kB / 0.5891 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.5201, allocations: 1.051 MB / 0.5901 GB, free: 28.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5201, allocations: 4 kB / 0.5901 GB, free: 28.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008762/0.521, allocations: 0.5637 MB / 0.5907 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.0002198/0.5213, allocations: 31.92 kB / 0.5907 GB, free: 27.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.524, allocations: 2.883 MB / 0.5935 GB, free: 24.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.5242, allocations: 0.805 MB / 0.5943 GB, free: 23.67 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.5245, allocations: 147.1 kB / 0.5944 GB, free: 23.53 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.5245, allocations: 27.44 kB / 0.5945 GB, free: 23.5 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.5245, allocations: 0 / 0.5945 GB, free: 23.5 MB / 462.3 MB Notification: Performance of Templates: time 0.006836/0.5314, allocations: 5.172 MB / 0.5995 GB, free: 18.37 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","/var/lib/jenkins/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