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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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.001219/0.001219, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.0009983/0.0009983, allocations: 107.1 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7/0.7, allocations: 119.3 MB / 460.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009263/0.0009263, allocations: 51.91 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1315, allocations: 80.7 MB / 0.6179 GB, free: 12.72 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002393/0.1339, allocations: 1.281 MB / 0.6192 GB, free: 11.43 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.1341, allocations: 47.88 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.1342, allocations: 0 / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.011e-05/0.1343, allocations: 3.984 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.1343, allocations: 11.98 kB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1345, allocations: 23.91 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.1349, allocations: 455.3 kB / 0.6197 GB, free: 10.89 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.135, allocations: 4 kB / 0.6197 GB, free: 10.89 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1351, allocations: 147.9 kB / 0.6198 GB, free: 10.75 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1353, allocations: 155.7 kB / 0.62 GB, free: 10.59 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.1354, allocations: 20 kB / 0.62 GB, free: 10.57 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.1355, allocations: 24 kB / 0.62 GB, free: 10.55 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1356, allocations: 123.8 kB / 0.6201 GB, free: 10.43 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1357, allocations: 143.4 kB / 0.6203 GB, free: 10.29 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1359, allocations: 227.5 kB / 0.6205 GB, free: 10.07 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.136, allocations: 4 kB / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.136, allocations: 4 kB / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.136, allocations: 0 / 0.6205 GB, free: 10.06 MB / 442.8 MB 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.001574/0.1375, allocations: 0.7612 MB / 0.6212 GB, free: 9.246 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1376, allocations: 8.031 kB / 0.6212 GB, free: 9.238 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.1377, allocations: 24.75 kB / 0.6213 GB, free: 9.215 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.138, allocations: 244 kB / 0.6215 GB, free: 8.938 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.138, allocations: 28.88 kB / 0.6215 GB, free: 8.906 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.1381, allocations: 56.28 kB / 0.6216 GB, free: 8.852 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.1386, allocations: 337.2 kB / 0.6219 GB, free: 8.516 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1386, allocations: 8.094 kB / 0.6219 GB, free: 8.508 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.1387, allocations: 19.92 kB / 0.6219 GB, free: 8.488 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1387, allocations: 4 kB / 0.6219 GB, free: 8.484 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.139, allocations: 222 kB / 0.6222 GB, free: 8.27 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1396, allocations: 467.9 kB / 0.6226 GB, free: 7.762 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.1403, allocations: 0.494 MB / 0.6231 GB, free: 7.262 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.1407, allocations: 242.4 kB / 0.6233 GB, free: 7.023 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1407, allocations: 8.5 kB / 0.6233 GB, free: 7.016 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1408, allocations: 39.12 kB / 0.6234 GB, free: 6.965 MB / 442.8 MB Notification: Performance of pre-optimization done (n=60): time 3.035e-06/0.1408, allocations: 0 / 0.6234 GB, free: 6.965 MB / 442.8 MB Notification: Performance of matching and sorting (n=60): time 0.00376/0.1445, allocations: 1.256 MB / 0.6246 GB, free: 5.68 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1446, allocations: 55.97 kB / 0.6246 GB, free: 5.613 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.1447, allocations: 109.8 kB / 0.6247 GB, free: 5.496 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1447, allocations: 41.7 kB / 0.6248 GB, free: 5.449 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1448, allocations: 97.45 kB / 0.6249 GB, free: 5.348 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1449, allocations: 252.3 kB / 0.6251 GB, free: 5.098 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1451, allocations: 146.7 kB / 0.6253 GB, free: 4.949 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1452, allocations: 342.8 kB / 0.6256 GB, free: 4.605 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.1456, allocations: 253.8 kB / 0.6258 GB, free: 4.359 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.1461, allocations: 432.3 kB / 0.6262 GB, free: 3.871 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000861/0.147, allocations: 0.7152 MB / 0.6269 GB, free: 3.09 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.147, allocations: 0 / 0.6269 GB, free: 3.09 MB / 442.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001865/0.1489, allocations: 1.014 MB / 0.6279 GB, free: 2.066 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1489, allocations: 8 kB / 0.6279 GB, free: 2.059 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1489, allocations: 8.031 kB / 0.6279 GB, free: 2.051 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.1501, allocations: 299.6 kB / 0.6282 GB, free: 1.758 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.1506, allocations: 171.7 kB / 0.6284 GB, free: 1.59 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.1547, allocations: 2.864 MB / 0.6312 GB, free: 14.59 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.155, allocations: 63.44 kB / 0.6312 GB, free: 14.53 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.155, allocations: 31.98 kB / 0.6313 GB, free: 14.5 MB / 458.8 MB 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.1552, allocations: 177.6 kB / 0.6314 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.1553, allocations: 23.75 kB / 0.6315 GB, free: 14.29 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.1554, allocations: 57.88 kB / 0.6315 GB, free: 14.24 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1554, allocations: 8 kB / 0.6315 GB, free: 14.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/0.1555, allocations: 4 kB / 0.6315 GB, free: 14.23 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1555, allocations: 3.984 kB / 0.6315 GB, free: 14.22 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.156, allocations: 461.5 kB / 0.632 GB, free: 13.72 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.156, allocations: 0 / 0.632 GB, free: 13.72 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.1567, allocations: 131.9 kB / 0.6321 GB, free: 13.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.1579, allocations: 296.6 kB / 0.6324 GB, free: 13.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.1579, allocations: 31.97 kB / 0.6324 GB, free: 13.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.1618, allocations: 2.868 MB / 0.6352 GB, free: 10.27 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1618, allocations: 0 / 0.6352 GB, free: 10.27 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.1771, allocations: 9.425 MB / 0.6444 GB, free: 0.5547 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1772, allocations: 100.8 kB / 0.6445 GB, free: 448 kB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.1773, allocations: 27.98 kB / 0.6445 GB, free: 420 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.1775, allocations: 8 kB / 0.6446 GB, free: 412 kB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.1776, allocations: 48.47 kB / 0.6446 GB, free: 364 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.1777, allocations: 16 kB / 0.6446 GB, free: 348 kB / 458.8 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.1777, allocations: 87.33 kB / 0.6447 GB, free: 260 kB / 458.8 MB Notification: Performance of sort global known variables: time 2e-07/0.1777, allocations: 0 / 0.6447 GB, free: 260 kB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006482/0.1784, allocations: 212 kB / 0.6449 GB, free: 48 kB / 458.8 MB 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.1785, allocations: 139.7 kB / 0.645 GB, free: 15.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.1802, allocations: 0.8949 MB / 0.6459 GB, free: 14.99 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1803, allocations: 0 / 0.6459 GB, free: 14.99 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.1814, allocations: 0.5522 MB / 0.6464 GB, free: 14.43 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1816, allocations: 25.09 kB / 0.6465 GB, free: 14.4 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.1866, allocations: 3.658 MB / 0.65 GB, free: 10.69 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.1871, allocations: 0.825 MB / 0.6508 GB, free: 9.836 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.1874, allocations: 159.1 kB / 0.651 GB, free: 9.684 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.1875, allocations: 27.44 kB / 0.651 GB, free: 9.656 MB / 474.8 MB Notification: Performance of SimCode: time 5.41e-07/0.1875, allocations: 4 kB / 0.651 GB, free: 9.652 MB / 474.8 MB Notification: Performance of Templates: time 0.01318/0.2007, allocations: 8.172 MB / 0.659 GB, free: 1.52 MB / 474.8 MB 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@2/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