Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.7 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9629/0.9629, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.3 kB / 0.571 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 80.7 MB / 0.6498 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002409/0.1411, allocations: 1.219 MB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000202/0.1413, allocations: 43.86 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.1414, allocations: 0 / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.1415, allocations: 11.92 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.1416, allocations: 4 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.1417, allocations: 23.89 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.142, allocations: 231.7 kB / 0.6513 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.142, allocations: 8 kB / 0.6513 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.1421, allocations: 75.94 kB / 0.6514 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1423, allocations: 75.83 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.1423, allocations: 12 kB / 0.6514 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.1424, allocations: 8 kB / 0.6514 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.1424, allocations: 70.19 kB / 0.6515 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.1425, allocations: 75.69 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1427, allocations: 115.6 kB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1427, allocations: 0 / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.096e-06/0.1427, allocations: 0 / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1427, allocations: 7.938 kB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009086/0.1436, allocations: 0.5268 MB / 0.6522 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1437, allocations: 15.89 kB / 0.6522 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1437, allocations: 12.75 kB / 0.6522 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1439, allocations: 200.2 kB / 0.6524 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.144, allocations: 16.38 kB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.144, allocations: 32.27 kB / 0.6525 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.1443, allocations: 186 kB / 0.6527 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1443, allocations: 8.172 kB / 0.6527 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1444, allocations: 15.88 kB / 0.6527 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1444, allocations: 4 kB / 0.6527 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1446, allocations: 107.9 kB / 0.6528 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1449, allocations: 309.4 kB / 0.6531 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.1455, allocations: 266.4 kB / 0.6533 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1456, allocations: 121.5 kB / 0.6535 GB, free: 9.043 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1457, allocations: 0 / 0.6535 GB, free: 9.043 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1457, allocations: 46.48 kB / 0.6535 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.012e-06/0.1457, allocations: 0 / 0.6535 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001619/0.1473, allocations: 0.6294 MB / 0.6541 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1474, allocations: 59.34 kB / 0.6542 GB, free: 8.262 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.1474, allocations: 101.8 kB / 0.6543 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1475, allocations: 37.7 kB / 0.6543 GB, free: 8.109 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.1475, allocations: 84.8 kB / 0.6544 GB, free: 8.023 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.1476, allocations: 118.3 kB / 0.6545 GB, free: 7.906 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.1477, allocations: 78.12 kB / 0.6546 GB, free: 7.824 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1479, allocations: 334.8 kB / 0.6549 GB, free: 7.488 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1481, allocations: 128.8 kB / 0.655 GB, free: 7.363 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.1483, allocations: 213.7 kB / 0.6552 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.1488, allocations: 377.3 kB / 0.6556 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1488, allocations: 3.938 kB / 0.6556 GB, free: 6.711 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000966/0.1498, allocations: 0.5175 MB / 0.6561 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1498, allocations: 8 kB / 0.6561 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1498, allocations: 0 / 0.6561 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006573/0.1505, allocations: 152.7 kB / 0.6562 GB, free: 6.023 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1507, allocations: 83.91 kB / 0.6563 GB, free: 5.941 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.1532, allocations: 2.152 MB / 0.6584 GB, free: 3.648 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1534, allocations: 39.61 kB / 0.6585 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1534, allocations: 12 kB / 0.6585 GB, free: 3.598 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.1536, allocations: 138.6 kB / 0.6586 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.1536, allocations: 15.84 kB / 0.6586 GB, free: 3.438 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.1537, allocations: 37.28 kB / 0.6587 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1537, allocations: 4 kB / 0.6587 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1537, allocations: 0 / 0.6587 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1537, allocations: 3.984 kB / 0.6587 GB, free: 3.387 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.154, allocations: 293.5 kB / 0.6589 GB, free: 3.051 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.154, allocations: 3.938 kB / 0.6589 GB, free: 3.047 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.1544, allocations: 71.95 kB / 0.659 GB, free: 2.977 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005983/0.155, allocations: 148.6 kB / 0.6592 GB, free: 2.828 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.155, allocations: 19.98 kB / 0.6592 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.1574, allocations: 2.148 MB / 0.6613 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1574, allocations: 4.031 kB / 0.6613 GB, free: 0.5156 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1585, allocations: 0.5781 MB / 0.6618 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1585, allocations: 88.95 kB / 0.6619 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.1586, allocations: 19.92 kB / 0.6619 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1587, allocations: 4 kB / 0.6619 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1588, allocations: 23.97 kB / 0.662 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1588, allocations: 4 kB / 0.662 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.1588, allocations: 83.28 kB / 0.6621 GB, free: 15.68 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1588, allocations: 0 / 0.6621 GB, free: 15.68 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003182/0.1592, allocations: 72 kB / 0.6621 GB, free: 15.61 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.1593, allocations: 123.1 kB / 0.6622 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009845/0.1603, allocations: 0.4905 MB / 0.6627 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1603, allocations: 0 / 0.6627 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.1609, allocations: 330.4 kB / 0.663 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1611, allocations: 12 kB / 0.663 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1629, allocations: 1.473 MB / 0.6645 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1632, allocations: 0.7363 MB / 0.6652 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.1633, allocations: 69.88 kB / 0.6653 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.1633, allocations: 19.44 kB / 0.6653 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of SimCode: time 3.81e-07/0.1633, allocations: 0 / 0.6653 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of Templates: time 0.006042/0.1694, allocations: 2.829 MB / 0.6681 GB, free: 9.492 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches