Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001318/0.001318, allocations: 115.6 kB / 17.74 MB, free: 5.328 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.001205/0.001205, allocations: 188.5 kB / 18.67 MB, free: 4.402 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.351/1.351, allocations: 222.9 MB / 242.4 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 1.059/1.059, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.8 kB / 0.5716 GB, free: 39.72 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 80.68 MB / 0.6504 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002168/0.161, allocations: 1.238 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.1613, allocations: 39.86 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.1613, allocations: 4 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.224e-05/0.1614, allocations: 3.984 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.1615, allocations: 7.938 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1616, allocations: 23.95 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1619, allocations: 231.7 kB / 0.6519 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.162, allocations: 7.984 kB / 0.6519 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.1621, allocations: 75.94 kB / 0.652 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1622, allocations: 75.83 kB / 0.6521 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.1623, allocations: 12 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.1623, allocations: 11.94 kB / 0.6521 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.1624, allocations: 70.19 kB / 0.6522 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.1625, allocations: 75.69 kB / 0.6523 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1626, allocations: 111.6 kB / 0.6524 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1627, allocations: 4 kB / 0.6524 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.587e-06/0.1627, allocations: 0 / 0.6524 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.1627, allocations: 7.938 kB / 0.6524 GB, free: 11 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.0009713/0.1636, allocations: 0.5268 MB / 0.6529 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1637, allocations: 11.89 kB / 0.6529 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1638, allocations: 16.75 kB / 0.6529 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.164, allocations: 200.2 kB / 0.6531 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.164, allocations: 12.38 kB / 0.6531 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.164, allocations: 36.27 kB / 0.6531 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1643, allocations: 186.1 kB / 0.6533 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1644, allocations: 192 / 0.6533 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.1644, allocations: 11.94 kB / 0.6533 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1644, allocations: 0 / 0.6533 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1646, allocations: 107.9 kB / 0.6534 GB, free: 9.809 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.165, allocations: 309.4 kB / 0.6537 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.1655, allocations: 266.4 kB / 0.654 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1656, allocations: 113.5 kB / 0.6541 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1657, allocations: 8 kB / 0.6541 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1657, allocations: 42.55 kB / 0.6541 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.1657, allocations: 0 / 0.6541 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001626/0.1673, allocations: 0.6332 MB / 0.6548 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1674, allocations: 55.41 kB / 0.6548 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.1675, allocations: 101.8 kB / 0.6549 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1675, allocations: 37.7 kB / 0.6549 GB, free: 8.137 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.1675, allocations: 84.73 kB / 0.655 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.1676, allocations: 122.3 kB / 0.6551 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.1677, allocations: 82.12 kB / 0.6552 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1678, allocations: 330.8 kB / 0.6555 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.168, allocations: 128.8 kB / 0.6557 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1683, allocations: 221.5 kB / 0.6559 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.1688, allocations: 373.4 kB / 0.6562 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1688, allocations: 3.938 kB / 0.6562 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009637/0.1698, allocations: 0.5177 MB / 0.6567 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1698, allocations: 4 kB / 0.6567 GB, free: 6.199 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1698, allocations: 4 kB / 0.6567 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.1705, allocations: 160.6 kB / 0.6569 GB, free: 6.035 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1708, allocations: 83.91 kB / 0.657 GB, free: 5.953 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.1731, allocations: 2.152 MB / 0.6591 GB, free: 3.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1733, allocations: 31.95 kB / 0.6591 GB, free: 3.629 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1733, allocations: 16 kB / 0.6591 GB, free: 3.613 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.0001192/0.1734, allocations: 138.6 kB / 0.6593 GB, free: 3.469 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1734, allocations: 15.78 kB / 0.6593 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.1735, allocations: 37.28 kB / 0.6593 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1735, allocations: 4 kB / 0.6593 GB, free: 3.406 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1735, allocations: 0 / 0.6593 GB, free: 3.406 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1736, allocations: 3.984 kB / 0.6593 GB, free: 3.402 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.1739, allocations: 297.3 kB / 0.6596 GB, free: 3.062 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1739, allocations: 3.938 kB / 0.6596 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.1742, allocations: 71.91 kB / 0.6597 GB, free: 2.988 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/0.1748, allocations: 144.7 kB / 0.6598 GB, free: 2.844 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.1748, allocations: 19.98 kB / 0.6598 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.1771, allocations: 2.136 MB / 0.6619 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1771, allocations: 8.047 kB / 0.6619 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.1781, allocations: 0.5743 MB / 0.6625 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.1781, allocations: 92.94 kB / 0.6626 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1782, allocations: 16.22 kB / 0.6626 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1783, allocations: 11.97 kB / 0.6626 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1783, allocations: 19.97 kB / 0.6626 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1784, allocations: 11.94 kB / 0.6626 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.1784, allocations: 79.28 kB / 0.6627 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1784, allocations: 0 / 0.6627 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002951/0.1787, allocations: 76 kB / 0.6628 GB, free: 15.62 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.0001301/0.1788, allocations: 123.1 kB / 0.6629 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000891/0.1797, allocations: 0.4905 MB / 0.6634 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1798, allocations: 0 / 0.6634 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.1803, allocations: 334.3 kB / 0.6637 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.1805, allocations: 12 kB / 0.6637 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1823, allocations: 1.502 MB / 0.6652 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1826, allocations: 0.7402 MB / 0.6659 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1826, allocations: 19.44 kB / 0.6659 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of SimCode: time 1.303e-06/0.1826, allocations: 0 / 0.6659 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of Templates: time 0.004181/0.1868, allocations: 2.583 MB / 0.6684 GB, free: 9.754 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches