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.001246/0.001246, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001212/0.001212, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.302/1.302, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9187/0.9187, allocations: 119.3 MB / 411.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.89 kB / 0.4916 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4804, allocations: 80.69 MB / 0.5704 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002052/0.4825, allocations: 1.231 MB / 0.5716 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.4826, allocations: 39.12 kB / 0.5716 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.4827, allocations: 0 / 0.5716 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.107e-05/0.4828, allocations: 4 kB / 0.5716 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.4828, allocations: 14.59 kB / 0.5717 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.483, allocations: 15.97 kB / 0.5717 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.4832, allocations: 227.4 kB / 0.5719 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.4832, allocations: 2.344 kB / 0.5719 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.4833, allocations: 90.45 kB / 0.572 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4834, allocations: 72.47 kB / 0.572 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.4835, allocations: 12.31 kB / 0.5721 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.442e-05/0.4835, allocations: 11.09 kB / 0.5721 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.4836, allocations: 69.75 kB / 0.5721 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.4837, allocations: 69.36 kB / 0.5722 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.4838, allocations: 117.1 kB / 0.5723 GB, free: 41.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4838, allocations: 0 / 0.5723 GB, free: 41.97 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4838, allocations: 0 / 0.5723 GB, free: 41.97 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4838, allocations: 5.125 kB / 0.5723 GB, free: 41.96 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.0008222/0.4847, allocations: 0.5314 MB / 0.5728 GB, free: 41.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4847, allocations: 13.3 kB / 0.5728 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.4848, allocations: 12.81 kB / 0.5729 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4849, allocations: 202 kB / 0.5731 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.4849, allocations: 15.97 kB / 0.5731 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.485, allocations: 28.59 kB / 0.5731 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.4853, allocations: 181.7 kB / 0.5733 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4853, allocations: 2.375 kB / 0.5733 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4853, allocations: 9.281 kB / 0.5733 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4853, allocations: 7.406 kB / 0.5733 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.4855, allocations: 109 kB / 0.5734 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.4858, allocations: 310.1 kB / 0.5737 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.4863, allocations: 269.7 kB / 0.5739 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.4864, allocations: 124.6 kB / 0.5741 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4865, allocations: 2.812 kB / 0.5741 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.4865, allocations: 40.53 kB / 0.5741 GB, free: 40.57 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.4865, allocations: 0 / 0.5741 GB, free: 40.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001658/0.4882, allocations: 0.6261 MB / 0.5747 GB, free: 40.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.4882, allocations: 53.72 kB / 0.5748 GB, free: 40.13 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.4883, allocations: 103.8 kB / 0.5749 GB, free: 40.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.4883, allocations: 36.2 kB / 0.5749 GB, free: 39.99 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.4883, allocations: 86.08 kB / 0.575 GB, free: 39.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.4884, allocations: 120.9 kB / 0.5751 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.4885, allocations: 80.12 kB / 0.5752 GB, free: 39.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.4885, allocations: 332.4 kB / 0.5755 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.4887, allocations: 125.7 kB / 0.5756 GB, free: 39.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.4889, allocations: 217.1 kB / 0.5758 GB, free: 39.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.4894, allocations: 372.8 kB / 0.5762 GB, free: 38.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4894, allocations: 3.938 kB / 0.5762 GB, free: 38.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009165/0.4903, allocations: 0.5165 MB / 0.5767 GB, free: 38.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4903, allocations: 9.453 kB / 0.5767 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4903, allocations: 3.75 kB / 0.5767 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.491, allocations: 146.4 kB / 0.5768 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.4912, allocations: 95.22 kB / 0.5769 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.4933, allocations: 2.162 MB / 0.579 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.4934, allocations: 30.56 kB / 0.5791 GB, free: 36.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4935, allocations: 12.38 kB / 0.5791 GB, free: 36.76 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 9.381e-05/0.4936, allocations: 138.1 kB / 0.5792 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.4936, allocations: 17.33 kB / 0.5792 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.4937, allocations: 34.59 kB / 0.5793 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4937, allocations: 6.812 kB / 0.5793 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.4937, allocations: 2.75 kB / 0.5793 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4937, allocations: 3.938 kB / 0.5793 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.4939, allocations: 305.5 kB / 0.5796 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4939, allocations: 3.938 kB / 0.5796 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.4943, allocations: 66.31 kB / 0.5796 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.4949, allocations: 145 kB / 0.5798 GB, free: 36.22 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.4949, allocations: 15.64 kB / 0.5798 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.497, allocations: 2.139 MB / 0.5819 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4971, allocations: 0 / 0.5819 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4981, allocations: 0.5772 MB / 0.5824 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.4981, allocations: 94.02 kB / 0.5825 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.4982, allocations: 18.23 kB / 0.5825 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4983, allocations: 5.25 kB / 0.5825 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4984, allocations: 23.34 kB / 0.5826 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4984, allocations: 9.047 kB / 0.5826 GB, free: 33.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.598e-05/0.4984, allocations: 85.77 kB / 0.5827 GB, free: 33.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4984, allocations: 0 / 0.5827 GB, free: 33.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003267/0.4988, allocations: 71.34 kB / 0.5827 GB, free: 33.88 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.000108/0.4989, allocations: 124.6 kB / 0.5828 GB, free: 33.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.4999, allocations: 0.543 MB / 0.5834 GB, free: 33.48 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4999, allocations: 1.25 kB / 0.5834 GB, free: 33.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.5005, allocations: 324.9 kB / 0.5837 GB, free: 33.28 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.5007, allocations: 15.72 kB / 0.5837 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.5026, allocations: 1.512 MB / 0.5852 GB, free: 32.05 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.5028, allocations: 0.7389 MB / 0.5859 GB, free: 31.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.5028, allocations: 22.09 kB / 0.5859 GB, free: 31.32 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.5028, allocations: 0 / 0.5859 GB, free: 31.32 MB / 462.3 MB Notification: Performance of Templates: time 0.00487/0.5077, allocations: 2.579 MB / 0.5884 GB, free: 30.02 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 -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