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.001308/0.001308, allocations: 174.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.4 MB / 235.5 MB, free: 2.918 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.0008768/0.0008767, allocations: 86.98 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8307/0.8307, allocations: 120.4 MB / 457.8 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.472e-05, allocations: 4 kB / 0.5357 GB, free: 12.17 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5285, allocations: 82.84 MB / 0.6166 GB, free: 9.316 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.6663, allocations: 125.3 MB / 0.739 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001607/0.6665, allocations: 63.91 kB / 0.739 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.007261/0.6738, allocations: 2.449 MB / 0.7414 GB, free: 9.375 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6738, allocations: 3.938 kB / 0.7414 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.6738, allocations: 0 / 0.7414 GB, free: 9.371 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.0006678/0.6745, allocations: 470.2 kB / 0.7419 GB, free: 8.867 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6746, allocations: 8.031 kB / 0.7419 GB, free: 8.859 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.6746, allocations: 19.84 kB / 0.7419 GB, free: 8.84 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.6748, allocations: 202.9 kB / 0.7421 GB, free: 8.602 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.6749, allocations: 19.94 kB / 0.7421 GB, free: 8.582 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.6749, allocations: 24 kB / 0.7421 GB, free: 8.559 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.6752, allocations: 177.5 kB / 0.7423 GB, free: 8.379 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.6753, allocations: 7.906 kB / 0.7423 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.6753, allocations: 15.89 kB / 0.7423 GB, free: 8.355 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6753, allocations: 4 kB / 0.7423 GB, free: 8.352 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.6755, allocations: 103.9 kB / 0.7424 GB, free: 8.25 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.6758, allocations: 305.4 kB / 0.7427 GB, free: 7.902 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.6764, allocations: 262.4 kB / 0.743 GB, free: 7.637 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.6766, allocations: 121.6 kB / 0.7431 GB, free: 7.516 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.6766, allocations: 4 kB / 0.7431 GB, free: 7.512 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.6766, allocations: 38.56 kB / 0.7431 GB, free: 7.465 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.6766, allocations: 0 / 0.7431 GB, free: 7.465 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0009168/0.6775, allocations: 411.6 kB / 0.7435 GB, free: 7.051 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.6776, allocations: 59.34 kB / 0.7436 GB, free: 6.98 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.6777, allocations: 101 kB / 0.7437 GB, free: 6.875 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.6777, allocations: 37.7 kB / 0.7437 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.6777, allocations: 84.92 kB / 0.7438 GB, free: 6.742 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.6778, allocations: 126.1 kB / 0.7439 GB, free: 6.617 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.6779, allocations: 8 kB / 0.7439 GB, free: 6.609 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.678, allocations: 330.8 kB / 0.7442 GB, free: 6.277 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.6782, allocations: 124.8 kB / 0.7443 GB, free: 6.156 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.6784, allocations: 205.8 kB / 0.7445 GB, free: 5.922 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.6787, allocations: 163.8 kB / 0.7447 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6787, allocations: 0 / 0.7447 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00101/0.6797, allocations: 0.5255 MB / 0.7452 GB, free: 5.227 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6797, allocations: 4.625 kB / 0.7452 GB, free: 5.223 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6797, allocations: 4 kB / 0.7452 GB, free: 5.219 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.6804, allocations: 160.6 kB / 0.7454 GB, free: 5.059 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.6807, allocations: 83.91 kB / 0.7455 GB, free: 4.977 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.683, allocations: 1.995 MB / 0.7474 GB, free: 2.848 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.6832, allocations: 39.67 kB / 0.7474 GB, free: 2.809 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.6832, allocations: 12 kB / 0.7475 GB, free: 2.797 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 9.792e-05/0.6833, allocations: 123.4 kB / 0.7476 GB, free: 2.672 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.6834, allocations: 15.77 kB / 0.7476 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/0.6835, allocations: 33.34 kB / 0.7476 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6835, allocations: 4 kB / 0.7476 GB, free: 2.617 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6835, allocations: 4 kB / 0.7476 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6835, allocations: 8.047 kB / 0.7476 GB, free: 2.605 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.6838, allocations: 301.4 kB / 0.7479 GB, free: 2.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6838, allocations: 0 / 0.7479 GB, free: 2.262 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.6842, allocations: 71.86 kB / 0.748 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006123/0.6848, allocations: 152.7 kB / 0.7481 GB, free: 2.039 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.6848, allocations: 11.98 kB / 0.7481 GB, free: 2.027 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5159/1.201, allocations: 1.994 MB / 0.7501 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.201, allocations: 0 / 0.7501 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.202, allocations: 0.5852 MB / 0.7507 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/1.202, allocations: 95.36 kB / 0.7508 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/1.202, allocations: 15.67 kB / 0.7508 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.202, allocations: 11.58 kB / 0.7508 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/1.202, allocations: 22.05 kB / 0.7508 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/1.202, allocations: 8.578 kB / 0.7508 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.282e-05/1.202, allocations: 83.36 kB / 0.7509 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/1.202, allocations: 0 / 0.7509 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003327/1.203, allocations: 72.83 kB / 0.751 GB, free: 132.3 MB / 0.5421 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.0001343/1.203, allocations: 117 kB / 0.7511 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0009658/1.204, allocations: 496.7 kB / 0.7515 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.204, allocations: 0.8438 kB / 0.7515 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/1.204, allocations: 324 kB / 0.7519 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/1.205, allocations: 9.938 kB / 0.7519 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/1.206, allocations: 1.569 MB / 0.7534 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/1.206, allocations: 0.7482 MB / 0.7541 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001501/1.207, allocations: 68 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/1.207, allocations: 16.62 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of SimCode: time 3.21e-07/1.207, allocations: 0.7188 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.005445/1.212, allocations: 2.578 MB / 0.7567 GB, free: 130.1 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