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.001091/0.001091, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.253/1.253, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008575, allocations: 97.95 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.821/0.821, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 8 kB / 0.5433 GB, free: 42.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 82.86 MB / 0.6242 GB, free: 9.215 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7963/0.9545, allocations: 125.4 MB / 0.7467 GB, free: 8.555 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.9548, allocations: 60.22 kB / 0.7467 GB, free: 8.523 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.9682, allocations: 4.472 MB / 0.7511 GB, free: 4.43 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9682, allocations: 0 / 0.7511 GB, free: 4.43 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.9683, allocations: 4 kB / 0.7511 GB, free: 4.426 MB / 0.5107 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.001235/0.9695, allocations: 0.648 MB / 0.7517 GB, free: 3.742 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.9696, allocations: 8.031 kB / 0.7517 GB, free: 3.734 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.9697, allocations: 27.77 kB / 0.7518 GB, free: 3.707 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.9701, allocations: 235 kB / 0.752 GB, free: 3.441 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.9701, allocations: 35.62 kB / 0.752 GB, free: 3.422 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.9702, allocations: 62.92 kB / 0.7521 GB, free: 3.379 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.9708, allocations: 333.9 kB / 0.7524 GB, free: 3.113 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.9708, allocations: 7.906 kB / 0.7524 GB, free: 3.105 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.9709, allocations: 11.17 kB / 0.7524 GB, free: 3.102 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.9709, allocations: 15.94 kB / 0.7524 GB, free: 3.086 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.9712, allocations: 216.6 kB / 0.7526 GB, free: 2.918 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.9718, allocations: 483.8 kB / 0.7531 GB, free: 2.477 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.9726, allocations: 493.1 kB / 0.7536 GB, free: 2.109 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.9727, allocations: 16.48 kB / 0.7536 GB, free: 2.094 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.9727, allocations: 38.94 kB / 0.7536 GB, free: 2.051 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=60): time 1.874e-06/0.9727, allocations: 0 / 0.7536 GB, free: 2.051 MB / 0.5107 GB Notification: Performance of matching and sorting (n=60): time 0.004015/0.9767, allocations: 1.354 MB / 0.7549 GB, free: 0.8477 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9768, allocations: 55.97 kB / 0.755 GB, free: 0.7812 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.9769, allocations: 104.7 kB / 0.7551 GB, free: 0.6797 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.9769, allocations: 41.14 kB / 0.7551 GB, free: 0.6445 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.977, allocations: 96.77 kB / 0.7552 GB, free: 0.5547 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.9772, allocations: 243.2 kB / 0.7555 GB, free: 356 kB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.9772, allocations: 15.56 kB / 0.7555 GB, free: 352 kB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9773, allocations: 350 kB / 0.7558 GB, free: 8 kB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.9777, allocations: 255.4 kB / 0.7561 GB, free: 15.81 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.9782, allocations: 433.1 kB / 0.7565 GB, free: 15.4 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.9787, allocations: 329.9 kB / 0.7568 GB, free: 15.17 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9787, allocations: 0 / 0.7568 GB, free: 15.17 MB / 0.5263 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002022/0.9807, allocations: 1.041 MB / 0.7578 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.9808, allocations: 10.66 kB / 0.7578 GB, free: 14.31 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.9808, allocations: 4 kB / 0.7578 GB, free: 14.31 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.9822, allocations: 319.6 kB / 0.7581 GB, free: 14.02 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.9827, allocations: 163.7 kB / 0.7583 GB, free: 13.86 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/0.9871, allocations: 2.981 MB / 0.7612 GB, free: 11.17 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.9875, allocations: 74.05 kB / 0.7613 GB, free: 11.11 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.9875, allocations: 23.69 kB / 0.7613 GB, free: 11.09 MB / 0.5263 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 () * Number of clocked 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.0002225/0.9878, allocations: 185.7 kB / 0.7615 GB, free: 10.92 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.9878, allocations: 19.72 kB / 0.7615 GB, free: 10.9 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.988, allocations: 67.33 kB / 0.7615 GB, free: 10.89 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.988, allocations: 8 kB / 0.7615 GB, free: 10.88 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/0.988, allocations: 4 kB / 0.7615 GB, free: 10.88 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.988, allocations: 3.984 kB / 0.7616 GB, free: 10.88 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.9886, allocations: 468 kB / 0.762 GB, free: 10.44 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9886, allocations: 0 / 0.762 GB, free: 10.44 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.9893, allocations: 134.6 kB / 0.7621 GB, free: 10.31 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.9906, allocations: 320 kB / 0.7624 GB, free: 10.02 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.9907, allocations: 28.91 kB / 0.7625 GB, free: 10 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/0.9949, allocations: 2.969 MB / 0.7654 GB, free: 7.32 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9949, allocations: 3.953 kB / 0.7654 GB, free: 7.316 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.9973, allocations: 1.166 MB / 0.7665 GB, free: 6.352 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.9974, allocations: 112.5 kB / 0.7666 GB, free: 6.227 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.9975, allocations: 23.86 kB / 0.7666 GB, free: 6.207 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.9977, allocations: 15.61 kB / 0.7666 GB, free: 6.199 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.9978, allocations: 48.23 kB / 0.7667 GB, free: 6.16 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.9978, allocations: 15.88 kB / 0.7667 GB, free: 6.148 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 7.18e-05/0.9979, allocations: 83.27 kB / 0.7668 GB, free: 6.066 MB / 0.5263 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9979, allocations: 0 / 0.7668 GB, free: 6.066 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0005553/0.9985, allocations: 147.2 kB / 0.7669 GB, free: 5.949 MB / 0.5263 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 () * Number of clocked 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.0002105/0.9987, allocations: 138.9 kB / 0.7671 GB, free: 5.812 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001786/1, allocations: 0.8858 MB / 0.7679 GB, free: 5.062 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.001, allocations: 0 / 0.7679 GB, free: 5.062 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.002, allocations: 0.5677 MB / 0.7685 GB, free: 4.562 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/1.002, allocations: 15.83 kB / 0.7685 GB, free: 4.555 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.006, allocations: 3.491 MB / 0.7719 GB, free: 1.121 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.006, allocations: 0.813 MB / 0.7727 GB, free: 288 kB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0003021/1.007, allocations: 147.1 kB / 0.7728 GB, free: 136 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/1.007, allocations: 27.44 kB / 0.7729 GB, free: 108 kB / 0.5263 GB Notification: Performance of SimCode: time 5.41e-07/1.007, allocations: 0 / 0.7729 GB, free: 108 kB / 0.5263 GB Notification: Performance of Templates: time 0.009377/1.016, allocations: 4.894 MB / 0.7776 GB, free: 11.26 MB / 0.5419 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/jenkins/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