Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001136/0.001136, allocations: 191 kB / 18.63 MB, free: 4.512 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.349/1.349, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8553/0.8553, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.486, allocations: 80.69 MB / 0.5712 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002193/0.4882, allocations: 1.217 MB / 0.5724 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.4884, allocations: 47.05 kB / 0.5724 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.4884, allocations: 5.125 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.532e-05/0.4885, allocations: 0 / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.4886, allocations: 14.42 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.4888, allocations: 21.03 kB / 0.5724 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.489, allocations: 235 kB / 0.5727 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.4891, allocations: 6.641 kB / 0.5727 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.135e-05/0.4891, allocations: 77.31 kB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.4893, allocations: 73.95 kB / 0.5728 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.4893, allocations: 14.61 kB / 0.5728 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.4893, allocations: 11.66 kB / 0.5728 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.4894, allocations: 63.23 kB / 0.5729 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.4895, allocations: 77.34 kB / 0.573 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.4896, allocations: 118.1 kB / 0.5731 GB, free: 42.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4896, allocations: 0 / 0.5731 GB, free: 42.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4897, allocations: 1.688 kB / 0.5731 GB, free: 42.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.4897, allocations: 0 / 0.5731 GB, free: 42.12 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009312/0.4906, allocations: 0.525 MB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4907, allocations: 13.33 kB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.4907, allocations: 13.59 kB / 0.5736 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.4909, allocations: 197.8 kB / 0.5738 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4909, allocations: 15.88 kB / 0.5738 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.491, allocations: 28.41 kB / 0.5739 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.4913, allocations: 185.3 kB / 0.574 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4913, allocations: 6.734 kB / 0.574 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.4913, allocations: 9.25 kB / 0.574 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4913, allocations: 7.688 kB / 0.5741 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4915, allocations: 104.3 kB / 0.5742 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.4918, allocations: 314.5 kB / 0.5745 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.4923, allocations: 269.1 kB / 0.5747 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4925, allocations: 117.5 kB / 0.5748 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4925, allocations: 2.656 kB / 0.5748 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4926, allocations: 40.47 kB / 0.5749 GB, free: 40.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.502e-06/0.4926, allocations: 0 / 0.5749 GB, free: 40.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001596/0.4942, allocations: 0.6257 MB / 0.5755 GB, free: 40.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.4942, allocations: 54.88 kB / 0.5755 GB, free: 40.3 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.4943, allocations: 107.9 kB / 0.5756 GB, free: 40.19 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.4943, allocations: 34.86 kB / 0.5757 GB, free: 40.15 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.4943, allocations: 87.23 kB / 0.5757 GB, free: 40.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.4944, allocations: 120.2 kB / 0.5759 GB, free: 39.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.4945, allocations: 84.53 kB / 0.5759 GB, free: 39.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.4946, allocations: 327.6 kB / 0.5763 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.4948, allocations: 129.9 kB / 0.5764 GB, free: 39.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.495, allocations: 218.3 kB / 0.5766 GB, free: 39.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.4954, allocations: 370.7 kB / 0.5769 GB, free: 39.13 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4954, allocations: 5.438 kB / 0.5769 GB, free: 39.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009311/0.4964, allocations: 0.5237 MB / 0.5775 GB, free: 38.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4964, allocations: 5.5 kB / 0.5775 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4964, allocations: 2.75 kB / 0.5775 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.497, allocations: 143.7 kB / 0.5776 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.4973, allocations: 87.48 kB / 0.5777 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.4996, allocations: 2.169 MB / 0.5798 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4998, allocations: 27.09 kB / 0.5798 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.4998, allocations: 15.06 kB / 0.5798 GB, free: 36.92 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.5, allocations: 147 kB / 0.58 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.5, allocations: 13.38 kB / 0.58 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.391e-05/0.5001, allocations: 30.16 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5001, allocations: 7.625 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5001, allocations: 1.844 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5001, allocations: 0.9062 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.5004, allocations: 300.9 kB / 0.5803 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5004, allocations: 4.844 kB / 0.5803 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.5008, allocations: 70.22 kB / 0.5804 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006047/0.5014, allocations: 148.9 kB / 0.5805 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.5015, allocations: 14.45 kB / 0.5806 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.5036, allocations: 2.143 MB / 0.5826 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5036, allocations: 5.266 kB / 0.5826 GB, free: 34.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.5046, allocations: 0.5724 MB / 0.5832 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.5046, allocations: 88.73 kB / 0.5833 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.5046, allocations: 19.52 kB / 0.5833 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5048, allocations: 5.281 kB / 0.5833 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5048, allocations: 22.3 kB / 0.5833 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.5048, allocations: 14.34 kB / 0.5834 GB, free: 34.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.441e-05/0.5049, allocations: 77.78 kB / 0.5834 GB, free: 34.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5049, allocations: 3.938 kB / 0.5834 GB, free: 34.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000384/0.5053, allocations: 71.34 kB / 0.5835 GB, free: 34.03 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.5054, allocations: 128.5 kB / 0.5836 GB, free: 33.92 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.5065, allocations: 0.4932 MB / 0.5841 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5065, allocations: 0 / 0.5841 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.5071, allocations: 334.2 kB / 0.5844 GB, free: 33.44 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5073, allocations: 11.81 kB / 0.5844 GB, free: 33.43 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.509, allocations: 1.469 MB / 0.5859 GB, free: 32.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.5092, allocations: 0.7389 MB / 0.5866 GB, free: 31.54 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.5093, allocations: 66.03 kB / 0.5866 GB, free: 31.51 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.5094, allocations: 16.66 kB / 0.5867 GB, free: 31.5 MB / 462.3 MB Notification: Performance of SimCode: time 8.32e-07/0.5094, allocations: 4 kB / 0.5867 GB, free: 31.5 MB / 462.3 MB Notification: Performance of Templates: time 0.005834/0.5152, allocations: 2.749 MB / 0.5894 GB, free: 30.16 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches