Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001611/0.00161, allocations: 179.4 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.315/1.315, allocations: 221.3 MB / 235.5 MB, free: 2.891 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.0008954/0.0008954, allocations: 88.11 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8992/0.8992, allocations: 120.5 MB / 457.8 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.226e-05, allocations: 224 / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5114, allocations: 82.84 MB / 0.6166 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.6546, allocations: 125.3 MB / 0.739 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.6549, allocations: 59.97 kB / 0.739 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.6688, allocations: 4.481 MB / 0.7434 GB, free: 7.348 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.316e-06/0.6689, allocations: 0 / 0.7434 GB, free: 7.348 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.6689, allocations: 11.94 kB / 0.7434 GB, free: 7.336 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.00114/0.67, allocations: 0.6355 MB / 0.744 GB, free: 6.652 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6701, allocations: 12.03 kB / 0.744 GB, free: 6.641 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.6702, allocations: 35.67 kB / 0.7441 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.6705, allocations: 239.1 kB / 0.7443 GB, free: 6.332 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.6705, allocations: 24.56 kB / 0.7443 GB, free: 6.309 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.6706, allocations: 63.8 kB / 0.7444 GB, free: 6.246 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.6712, allocations: 328.7 kB / 0.7447 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.6712, allocations: 15.94 kB / 0.7447 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.6713, allocations: 8 kB / 0.7447 GB, free: 5.895 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.6713, allocations: 11.95 kB / 0.7447 GB, free: 5.883 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.6717, allocations: 210.1 kB / 0.7449 GB, free: 5.68 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.6723, allocations: 483.8 kB / 0.7454 GB, free: 5.156 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.6731, allocations: 482.8 kB / 0.7459 GB, free: 4.668 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.6734, allocations: 234.5 kB / 0.7461 GB, free: 4.438 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.6735, allocations: 12.56 kB / 0.7461 GB, free: 4.426 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.6735, allocations: 39.06 kB / 0.7461 GB, free: 4.379 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 1.714e-06/0.6735, allocations: 0 / 0.7461 GB, free: 4.379 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.0017/0.6752, allocations: 0.7599 MB / 0.7469 GB, free: 3.605 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.6753, allocations: 59.97 kB / 0.7469 GB, free: 3.535 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.6754, allocations: 105 kB / 0.747 GB, free: 3.426 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.6754, allocations: 41.7 kB / 0.7471 GB, free: 3.379 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.6755, allocations: 93.39 kB / 0.7472 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.6756, allocations: 244.4 kB / 0.7474 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.6757, allocations: 16 kB / 0.7474 GB, free: 3.023 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6758, allocations: 354.8 kB / 0.7478 GB, free: 2.668 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.6762, allocations: 245.9 kB / 0.748 GB, free: 2.43 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.6767, allocations: 431.9 kB / 0.7484 GB, free: 1.949 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.6772, allocations: 323 kB / 0.7487 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6772, allocations: 0 / 0.7487 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002028/0.6792, allocations: 1.03 MB / 0.7497 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6793, allocations: 8 kB / 0.7497 GB, free: 0.5898 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6793, allocations: 4 kB / 0.7497 GB, free: 0.5859 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.6806, allocations: 319.3 kB / 0.75 GB, free: 280 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.6811, allocations: 159.8 kB / 0.7502 GB, free: 120 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5261/1.207, allocations: 2.886 MB / 0.753 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/1.208, allocations: 63.8 kB / 0.7531 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/1.208, allocations: 30.97 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.0001261/1.208, allocations: 147.7 kB / 0.7532 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/1.208, allocations: 24.75 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/1.208, allocations: 64.22 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.208, allocations: 6.312 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.208, allocations: 4.344 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.208, allocations: 3.641 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/1.209, allocations: 461.8 kB / 0.7538 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.209, allocations: 1.094 kB / 0.7538 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/1.209, allocations: 136.4 kB / 0.7539 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/1.211, allocations: 320.2 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/1.211, allocations: 30.11 kB / 0.7542 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/1.215, allocations: 2.873 MB / 0.757 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.215, allocations: 3.953 kB / 0.757 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/1.217, allocations: 1.15 MB / 0.7582 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/1.217, allocations: 108.6 kB / 0.7583 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/1.217, allocations: 26.66 kB / 0.7583 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/1.217, allocations: 18.66 kB / 0.7583 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.218, allocations: 42.91 kB / 0.7584 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/1.218, allocations: 17.16 kB / 0.7584 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.89e-05/1.218, allocations: 87.25 kB / 0.7585 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/1.218, allocations: 0 / 0.7585 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005431/1.218, allocations: 143.2 kB / 0.7586 GB, free: 128 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.0001551/1.218, allocations: 136 kB / 0.7587 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.22, allocations: 0.8694 MB / 0.7596 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.22, allocations: 0 / 0.7596 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/1.221, allocations: 0.5469 MB / 0.7601 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/1.221, allocations: 20.66 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.003002/1.224, allocations: 3.148 MB / 0.7632 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.225, allocations: 0.814 MB / 0.764 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002647/1.225, allocations: 144.9 kB / 0.7641 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/1.225, allocations: 26.78 kB / 0.7642 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of SimCode: time 2.81e-07/1.225, allocations: 0 / 0.7642 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.007144/1.232, allocations: 4.907 MB / 0.7689 GB, free: 122 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches