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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 175.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.258/1.258, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008026/0.0008024, allocations: 88.69 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8735/0.8735, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.9e-05, allocations: 4 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5182, allocations: 82.83 MB / 0.6166 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.6574, allocations: 125.3 MB / 0.739 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001379/0.6576, allocations: 59.97 kB / 0.739 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.671, allocations: 4.493 MB / 0.7434 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.671, allocations: 0 / 0.7434 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.671, allocations: 8 kB / 0.7434 GB, free: 7.344 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001079/0.6721, allocations: 0.6277 MB / 0.744 GB, free: 6.668 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6722, allocations: 12.03 kB / 0.744 GB, free: 6.656 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.6722, allocations: 27.67 kB / 0.7441 GB, free: 6.629 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.6726, allocations: 251 kB / 0.7443 GB, free: 6.344 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.6726, allocations: 24.56 kB / 0.7443 GB, free: 6.32 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.6727, allocations: 55.81 kB / 0.7444 GB, free: 6.266 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.6732, allocations: 328.7 kB / 0.7447 GB, free: 5.938 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.6733, allocations: 12 kB / 0.7447 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.6733, allocations: 8 kB / 0.7447 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.6733, allocations: 11.95 kB / 0.7447 GB, free: 5.906 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.6736, allocations: 206.1 kB / 0.7449 GB, free: 5.707 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.6742, allocations: 491.8 kB / 0.7454 GB, free: 5.176 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/0.675, allocations: 481.2 kB / 0.7459 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.6753, allocations: 234.5 kB / 0.7461 GB, free: 4.461 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.6754, allocations: 4.562 kB / 0.7461 GB, free: 4.457 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6754, allocations: 43.12 kB / 0.7461 GB, free: 4.406 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 3.006e-06/0.6754, allocations: 0 / 0.7461 GB, free: 4.406 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.001716/0.6771, allocations: 0.7598 MB / 0.7469 GB, free: 3.633 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.6772, allocations: 67.97 kB / 0.7469 GB, free: 3.555 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.6772, allocations: 96.98 kB / 0.747 GB, free: 3.453 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.6773, allocations: 41.7 kB / 0.7471 GB, free: 3.406 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.6773, allocations: 93.45 kB / 0.7472 GB, free: 3.309 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.6775, allocations: 248.4 kB / 0.7474 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.6776, allocations: 16 kB / 0.7474 GB, free: 3.047 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6777, allocations: 346.8 kB / 0.7477 GB, free: 2.699 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.6781, allocations: 257.8 kB / 0.748 GB, free: 2.449 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.6785, allocations: 421 kB / 0.7484 GB, free: 1.977 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.679, allocations: 323 kB / 0.7487 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.679, allocations: 0 / 0.7487 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001953/0.681, allocations: 1.026 MB / 0.7497 GB, free: 0.6289 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.681, allocations: 8 kB / 0.7497 GB, free: 0.6211 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.681, allocations: 4 kB / 0.7497 GB, free: 0.6172 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.6823, allocations: 319.1 kB / 0.75 GB, free: 312 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.6828, allocations: 171.7 kB / 0.7502 GB, free: 140 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5351/1.218, allocations: 2.889 MB / 0.753 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/1.218, allocations: 62.53 kB / 0.7531 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/1.218, allocations: 33.16 kB / 0.7531 GB, free: 130.8 MB / 0.5421 GB 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 () * 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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.218, allocations: 143.3 kB / 0.7532 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/1.219, allocations: 29.59 kB / 0.7533 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/1.219, allocations: 59.56 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.219, allocations: 5.938 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.219, allocations: 4.453 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.219, allocations: 3.078 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/1.219, allocations: 469.8 kB / 0.7538 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.219, allocations: 0.8438 kB / 0.7538 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/1.22, allocations: 131.1 kB / 0.7539 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/1.221, allocations: 322 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/1.221, allocations: 24.69 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/1.225, allocations: 2.878 MB / 0.757 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.225, allocations: 4.469 kB / 0.757 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/1.228, allocations: 1.155 MB / 0.7582 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/1.228, allocations: 105.2 kB / 0.7583 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/1.228, allocations: 26.48 kB / 0.7583 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/1.228, allocations: 21.73 kB / 0.7583 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.228, allocations: 46.2 kB / 0.7584 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/1.228, allocations: 17.41 kB / 0.7584 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.264e-05/1.228, allocations: 85.27 kB / 0.7585 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.228, allocations: 0 / 0.7585 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005138/1.229, allocations: 142.3 kB / 0.7586 GB, free: 128.1 MB / 0.5421 GB 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 () * 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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/1.229, allocations: 134.4 kB / 0.7587 GB, free: 128 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0016/1.23, allocations: 0.8682 MB / 0.7596 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.23, allocations: 3.938 kB / 0.7596 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.232, allocations: 0.543 MB / 0.7601 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.232, allocations: 19.77 kB / 0.7601 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/1.235, allocations: 3.137 MB / 0.7632 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/1.235, allocations: 0.8169 MB / 0.764 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002547/1.235, allocations: 139.6 kB / 0.7641 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/1.235, allocations: 25.53 kB / 0.7641 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of SimCode: time 5.31e-07/1.235, allocations: 3.938 kB / 0.7641 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.007115/1.243, allocations: 4.913 MB / 0.7689 GB, free: 122.1 MB / 0.5421 GB 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches