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.00111/0.00111, allocations: 179.5 kB / 16.39 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.339/1.339, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009633/0.0009634, allocations: 90.77 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8401/0.8401, allocations: 120.5 MB / 463.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 12 kB / 0.5433 GB, free: 42.4 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 82.85 MB / 0.6242 GB, free: 9.227 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6504/0.7907, allocations: 125.4 MB / 0.7467 GB, free: 8.629 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.791, allocations: 61.22 kB / 0.7467 GB, free: 8.598 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.8054, allocations: 4.465 MB / 0.7511 GB, free: 4.52 MB / 0.5107 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8054, allocations: 4 kB / 0.7511 GB, free: 4.516 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.8055, allocations: 4 kB / 0.7511 GB, free: 4.512 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.001394/0.8069, allocations: 0.6479 MB / 0.7517 GB, free: 3.828 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.8069, allocations: 12.03 kB / 0.7517 GB, free: 3.816 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.8071, allocations: 31.7 kB / 0.7518 GB, free: 3.785 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.8075, allocations: 235.1 kB / 0.752 GB, free: 3.516 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.8076, allocations: 28.94 kB / 0.752 GB, free: 3.5 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.8077, allocations: 62.67 kB / 0.7521 GB, free: 3.457 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/0.8083, allocations: 329.1 kB / 0.7524 GB, free: 3.195 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.8083, allocations: 11.78 kB / 0.7524 GB, free: 3.188 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.8084, allocations: 7.875 kB / 0.7524 GB, free: 3.188 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.8084, allocations: 15.94 kB / 0.7524 GB, free: 3.172 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.8087, allocations: 215.6 kB / 0.7526 GB, free: 3.004 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.8094, allocations: 487.9 kB / 0.7531 GB, free: 2.555 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.8103, allocations: 494.8 kB / 0.7536 GB, free: 2.191 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.8103, allocations: 8.562 kB / 0.7536 GB, free: 2.184 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.8104, allocations: 38.92 kB / 0.7536 GB, free: 2.141 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=60): time 2.565e-06/0.8104, allocations: 4 kB / 0.7536 GB, free: 2.137 MB / 0.5107 GB Notification: Performance of matching and sorting (n=60): time 0.004251/0.8147, allocations: 1.356 MB / 0.7549 GB, free: 0.9297 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.8147, allocations: 59.97 kB / 0.755 GB, free: 0.8594 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.8148, allocations: 103.4 kB / 0.7551 GB, free: 0.7578 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.8149, allocations: 45.39 kB / 0.7551 GB, free: 0.7227 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.8149, allocations: 89.08 kB / 0.7552 GB, free: 0.6367 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.8151, allocations: 240.5 kB / 0.7555 GB, free: 444 kB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.8151, allocations: 11.25 kB / 0.7555 GB, free: 444 kB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8153, allocations: 354.1 kB / 0.7558 GB, free: 96 kB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.8157, allocations: 254.8 kB / 0.756 GB, free: 15.9 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.8162, allocations: 433.5 kB / 0.7565 GB, free: 15.49 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.8167, allocations: 329.8 kB / 0.7568 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8168, allocations: 0 / 0.7568 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00213/0.8189, allocations: 1.041 MB / 0.7578 GB, free: 14.41 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.8189, allocations: 10.81 kB / 0.7578 GB, free: 14.4 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.819, allocations: 4.875 kB / 0.7578 GB, free: 14.39 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.8204, allocations: 319.4 kB / 0.7581 GB, free: 14.1 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.821, allocations: 163.4 kB / 0.7583 GB, free: 13.95 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.8255, allocations: 2.988 MB / 0.7612 GB, free: 11.25 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.8259, allocations: 66.98 kB / 0.7612 GB, free: 11.2 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.8259, allocations: 27.69 kB / 0.7613 GB, free: 11.18 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.0001918/0.8261, allocations: 177 kB / 0.7614 GB, free: 11.02 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.8262, allocations: 31.89 kB / 0.7615 GB, free: 10.99 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.8263, allocations: 63.33 kB / 0.7615 GB, free: 10.98 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.8264, allocations: 11.98 kB / 0.7615 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.8264, allocations: 4 kB / 0.7616 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.8264, allocations: 3.984 kB / 0.7616 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.8269, allocations: 470.7 kB / 0.762 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.827, allocations: 0 / 0.762 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.8277, allocations: 131.4 kB / 0.7621 GB, free: 10.39 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.8291, allocations: 323.4 kB / 0.7624 GB, free: 10.1 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.8292, allocations: 31.66 kB / 0.7625 GB, free: 10.08 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/0.8335, allocations: 2.966 MB / 0.7654 GB, free: 7.398 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8335, allocations: 3.953 kB / 0.7654 GB, free: 7.395 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.8358, allocations: 1.158 MB / 0.7665 GB, free: 6.438 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.8358, allocations: 108.6 kB / 0.7666 GB, free: 6.312 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.8359, allocations: 27.73 kB / 0.7666 GB, free: 6.293 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.8361, allocations: 15.42 kB / 0.7666 GB, free: 6.285 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.8362, allocations: 48.23 kB / 0.7667 GB, free: 6.246 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.8363, allocations: 19.81 kB / 0.7667 GB, free: 6.23 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.8363, allocations: 87.2 kB / 0.7668 GB, free: 6.145 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8363, allocations: 0 / 0.7668 GB, free: 6.145 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004987/0.8368, allocations: 143.2 kB / 0.7669 GB, free: 6.031 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.0001901/0.837, allocations: 138.9 kB / 0.7671 GB, free: 5.895 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.8389, allocations: 0.8821 MB / 0.7679 GB, free: 5.148 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8389, allocations: 0 / 0.7679 GB, free: 5.148 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.84, allocations: 0.5655 MB / 0.7685 GB, free: 4.648 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.8402, allocations: 15.7 kB / 0.7685 GB, free: 4.641 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.8444, allocations: 3.496 MB / 0.7719 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.8448, allocations: 0.813 MB / 0.7727 GB, free: 372 kB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.000304/0.8452, allocations: 143.1 kB / 0.7728 GB, free: 224 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.8452, allocations: 27.44 kB / 0.7729 GB, free: 196 kB / 0.5263 GB Notification: Performance of SimCode: time 2.2e-07/0.8452, allocations: 0 / 0.7729 GB, free: 196 kB / 0.5263 GB Notification: Performance of Templates: time 0.009891/0.8551, allocations: 4.899 MB / 0.7776 GB, free: 11.34 MB / 0.5419 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