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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 175.4 kB / 8.344 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 87.5 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7936/0.7936, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.263e-05, allocations: 0 / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4793, allocations: 82.84 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.6072, allocations: 124.6 MB / 0.7314 GB, free: 276 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001389/0.6073, allocations: 63.95 kB / 0.7315 GB, free: 216 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.007024/0.6144, allocations: 2.438 MB / 0.7338 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6144, allocations: 0 / 0.7338 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6144, allocations: 4 kB / 0.7338 GB, free: 13.76 MB / 0.5419 GB 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.0006279/0.615, allocations: 470.2 kB / 0.7343 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.6151, allocations: 8.031 kB / 0.7343 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.6151, allocations: 15.86 kB / 0.7343 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.6153, allocations: 206.8 kB / 0.7345 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.6154, allocations: 4 kB / 0.7345 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.6154, allocations: 23.98 kB / 0.7345 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001836/0.6156, allocations: 95.94 kB / 0.7346 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.6158, allocations: 165.6 kB / 0.7348 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.6159, allocations: 7.859 kB / 0.7348 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.6159, allocations: 7.938 kB / 0.7348 GB, free: 12.69 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6159, allocations: 7.938 kB / 0.7348 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.6162, allocations: 266 kB / 0.7351 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.6167, allocations: 250.5 kB / 0.7353 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.6168, allocations: 105.8 kB / 0.7354 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.6168, allocations: 4 kB / 0.7354 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.6169, allocations: 38.56 kB / 0.7354 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.6169, allocations: 0 / 0.7354 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0008242/0.6177, allocations: 395.6 kB / 0.7358 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.6177, allocations: 51.41 kB / 0.7359 GB, free: 11.51 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.6178, allocations: 101 kB / 0.736 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6178, allocations: 25.7 kB / 0.736 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.6179, allocations: 80.92 kB / 0.7361 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.618, allocations: 130.1 kB / 0.7362 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.618, allocations: 0 / 0.7362 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.6181, allocations: 322.8 kB / 0.7365 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.6183, allocations: 124.8 kB / 0.7366 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.6185, allocations: 196.8 kB / 0.7368 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.6187, allocations: 155.9 kB / 0.737 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6187, allocations: 0 / 0.737 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008903/0.6196, allocations: 486 kB / 0.7374 GB, free: 9.855 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.6196, allocations: 11.95 kB / 0.7374 GB, free: 9.844 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6196, allocations: 11.95 kB / 0.7374 GB, free: 9.832 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.6203, allocations: 156.6 kB / 0.7376 GB, free: 9.676 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.6205, allocations: 79.91 kB / 0.7377 GB, free: 9.598 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.6226, allocations: 1.896 MB / 0.7395 GB, free: 7.586 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.6228, allocations: 27.73 kB / 0.7395 GB, free: 7.559 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.6228, allocations: 12 kB / 0.7396 GB, free: 7.547 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.6229, allocations: 120.9 kB / 0.7397 GB, free: 7.422 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.6229, allocations: 15.81 kB / 0.7397 GB, free: 7.406 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.623, allocations: 29.92 kB / 0.7397 GB, free: 7.375 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.623, allocations: 4 kB / 0.7397 GB, free: 7.371 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.623, allocations: 0 / 0.7397 GB, free: 7.371 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.623, allocations: 0 / 0.7397 GB, free: 7.371 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.6233, allocations: 269.9 kB / 0.74 GB, free: 7.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6233, allocations: 0 / 0.74 GB, free: 7.07 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.6237, allocations: 79.89 kB / 0.74 GB, free: 6.992 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005943/0.6243, allocations: 149 kB / 0.7402 GB, free: 6.844 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.6243, allocations: 11.92 kB / 0.7402 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.6263, allocations: 1.892 MB / 0.7421 GB, free: 4.824 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6263, allocations: 3.953 kB / 0.7421 GB, free: 4.82 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.6273, allocations: 0.5436 MB / 0.7426 GB, free: 4.254 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.6273, allocations: 92.91 kB / 0.7427 GB, free: 4.145 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.6274, allocations: 11.98 kB / 0.7427 GB, free: 4.133 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.6275, allocations: 7.984 kB / 0.7427 GB, free: 4.125 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.6275, allocations: 27.91 kB / 0.7427 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6275, allocations: 4 kB / 0.7427 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.6276, allocations: 83.28 kB / 0.7428 GB, free: 4.012 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6276, allocations: 0 / 0.7428 GB, free: 4.012 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002965/0.6279, allocations: 60 kB / 0.7429 GB, free: 3.953 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.628, allocations: 109.6 kB / 0.743 GB, free: 3.84 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0008174/0.6288, allocations: 461.3 kB / 0.7434 GB, free: 3.379 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6289, allocations: 8.562 kB / 0.7434 GB, free: 3.371 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.6294, allocations: 313.3 kB / 0.7437 GB, free: 3.055 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.6295, allocations: 10.64 kB / 0.7437 GB, free: 3.047 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.6312, allocations: 1.56 MB / 0.7452 GB, free: 1.449 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.6314, allocations: 0.7444 MB / 0.746 GB, free: 0.6797 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.6316, allocations: 66 kB / 0.746 GB, free: 0.6172 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.6316, allocations: 19.44 kB / 0.7461 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.6316, allocations: 4 kB / 0.7461 GB, free: 0.5938 MB / 0.5419 GB Notification: Performance of Templates: time 0.4983/1.13, allocations: 2.506 MB / 0.7485 GB, free: 135.4 MB / 0.5421 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches