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.001537/0.001537, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.45/1.45, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.001119/0.001119, allocations: 97.78 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9294/0.9294, allocations: 120.5 MB / 463 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 0.5433 GB, free: 42.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1726, allocations: 82.85 MB / 0.6242 GB, free: 9.23 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8091/0.9818, allocations: 125.4 MB / 0.7467 GB, free: 8.562 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.9821, allocations: 62.95 kB / 0.7467 GB, free: 8.527 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.9968, allocations: 4.466 MB / 0.7511 GB, free: 4.445 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9968, allocations: 0 / 0.7511 GB, free: 4.445 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.9968, allocations: 8 kB / 0.7511 GB, free: 4.438 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.001358/0.9982, allocations: 0.6439 MB / 0.7517 GB, free: 3.758 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9983, allocations: 8.031 kB / 0.7517 GB, free: 3.75 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.9984, allocations: 35.7 kB / 0.7518 GB, free: 3.715 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.9989, allocations: 246.8 kB / 0.752 GB, free: 3.441 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.9989, allocations: 24 kB / 0.752 GB, free: 3.43 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.9991, allocations: 58.44 kB / 0.7521 GB, free: 3.391 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.9997, allocations: 330 kB / 0.7524 GB, free: 3.129 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.9997, allocations: 15.89 kB / 0.7524 GB, free: 3.113 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.9998, allocations: 7.688 kB / 0.7524 GB, free: 3.113 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.9998, allocations: 11.95 kB / 0.7524 GB, free: 3.102 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/1, allocations: 215.4 kB / 0.7526 GB, free: 2.934 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/1.001, allocations: 488.1 kB / 0.7531 GB, free: 2.488 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/1.002, allocations: 497.7 kB / 0.7536 GB, free: 2.117 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/1.002, allocations: 8.562 kB / 0.7536 GB, free: 2.109 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.002, allocations: 34.88 kB / 0.7536 GB, free: 2.07 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=60): time 1.814e-06/1.002, allocations: 0 / 0.7536 GB, free: 2.07 MB / 0.5107 GB Notification: Performance of matching and sorting (n=60): time 0.004247/1.006, allocations: 1.359 MB / 0.7549 GB, free: 0.8633 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.006, allocations: 59.97 kB / 0.755 GB, free: 0.793 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.006, allocations: 108.9 kB / 0.7551 GB, free: 0.6875 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/1.006, allocations: 41.27 kB / 0.7551 GB, free: 0.6523 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/1.006, allocations: 89.31 kB / 0.7552 GB, free: 0.5664 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/1.007, allocations: 238.8 kB / 0.7554 GB, free: 376 kB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/1.007, allocations: 15.69 kB / 0.7555 GB, free: 372 kB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.007, allocations: 350.4 kB / 0.7558 GB, free: 24 kB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.007, allocations: 256.5 kB / 0.756 GB, free: 15.83 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/1.008, allocations: 433.9 kB / 0.7565 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/1.008, allocations: 329.2 kB / 0.7568 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.008, allocations: 0 / 0.7568 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002153/1.011, allocations: 1.036 MB / 0.7578 GB, free: 14.34 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/1.011, allocations: 12.03 kB / 0.7578 GB, free: 14.33 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.011, allocations: 4 kB / 0.7578 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/1.012, allocations: 321.3 kB / 0.7581 GB, free: 14.03 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/1.013, allocations: 162.9 kB / 0.7583 GB, free: 13.88 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/1.017, allocations: 2.993 MB / 0.7612 GB, free: 11.18 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/1.018, allocations: 66.3 kB / 0.7612 GB, free: 11.12 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/1.018, allocations: 27.88 kB / 0.7613 GB, free: 11.1 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.0003437/1.018, allocations: 172.2 kB / 0.7614 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/1.018, allocations: 27.78 kB / 0.7615 GB, free: 10.92 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/1.019, allocations: 67.31 kB / 0.7615 GB, free: 10.91 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.019, allocations: 8.188 kB / 0.7615 GB, free: 10.9 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/1.019, allocations: 4 kB / 0.7615 GB, free: 10.89 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.019, allocations: 3.984 kB / 0.7615 GB, free: 10.89 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/1.019, allocations: 469.7 kB / 0.762 GB, free: 10.45 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.019, allocations: 0 / 0.762 GB, free: 10.45 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.02, allocations: 131.8 kB / 0.7621 GB, free: 10.33 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.022, allocations: 318.8 kB / 0.7624 GB, free: 10.04 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/1.022, allocations: 37.97 kB / 0.7625 GB, free: 10.01 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/1.029, allocations: 2.969 MB / 0.7654 GB, free: 7.332 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.029, allocations: 3.953 kB / 0.7654 GB, free: 7.328 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/1.032, allocations: 1.158 MB / 0.7665 GB, free: 6.371 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.032, allocations: 108.6 kB / 0.7666 GB, free: 6.246 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/1.032, allocations: 23.8 kB / 0.7666 GB, free: 6.23 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/1.032, allocations: 19.8 kB / 0.7666 GB, free: 6.219 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.032, allocations: 44.36 kB / 0.7667 GB, free: 6.18 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/1.032, allocations: 15.94 kB / 0.7667 GB, free: 6.168 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 5.062e-05/1.032, allocations: 83.22 kB / 0.7668 GB, free: 6.086 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.01e-07/1.032, allocations: 0 / 0.7668 GB, free: 6.086 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0007567/1.033, allocations: 147.1 kB / 0.7669 GB, free: 5.969 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.000257/1.033, allocations: 138.8 kB / 0.767 GB, free: 5.832 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.002524/1.036, allocations: 0.8862 MB / 0.7679 GB, free: 5.082 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.036, allocations: 0 / 0.7679 GB, free: 5.082 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.038, allocations: 0.5689 MB / 0.7685 GB, free: 4.582 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/1.038, allocations: 12.41 kB / 0.7685 GB, free: 4.578 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/1.044, allocations: 3.497 MB / 0.7719 GB, free: 1.137 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/1.044, allocations: 0.8116 MB / 0.7727 GB, free: 308 kB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0005023/1.045, allocations: 147.1 kB / 0.7728 GB, free: 156 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/1.045, allocations: 23.44 kB / 0.7728 GB, free: 132 kB / 0.5263 GB Notification: Performance of SimCode: time 1.032e-06/1.045, allocations: 0 / 0.7728 GB, free: 132 kB / 0.5263 GB Notification: Performance of Templates: time 0.01203/1.057, allocations: 4.89 MB / 0.7776 GB, free: 11.28 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/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