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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 182.5 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.196/1.196, allocations: 222.9 MB / 240.9 MB, free: 10.96 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.0009746/0.0009746, allocations: 98.17 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6727/0.6727, allocations: 119.3 MB / 460.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009358/0.0009359, allocations: 55.92 kB / 0.5391 GB, free: 43.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1251, allocations: 80.7 MB / 0.6179 GB, free: 12.69 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002107/0.1273, allocations: 1.289 MB / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.1275, allocations: 39.94 kB / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.1275, allocations: 0 / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.809e-05/0.1276, allocations: 7.922 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.1276, allocations: 15.98 kB / 0.6192 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.1278, allocations: 15.97 kB / 0.6193 GB, free: 11.31 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.128, allocations: 247.7 kB / 0.6195 GB, free: 11.07 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1281, allocations: 7.938 kB / 0.6195 GB, free: 11.06 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.1282, allocations: 83.86 kB / 0.6196 GB, free: 10.98 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1283, allocations: 75.89 kB / 0.6196 GB, free: 10.91 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.1283, allocations: 12 kB / 0.6197 GB, free: 10.89 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.432e-05/0.1284, allocations: 12 kB / 0.6197 GB, free: 10.88 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.1284, allocations: 67.84 kB / 0.6197 GB, free: 10.82 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 8.325e-05/0.1285, allocations: 71.69 kB / 0.6198 GB, free: 10.75 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1287, allocations: 111.9 kB / 0.6199 GB, free: 10.64 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1287, allocations: 4 kB / 0.6199 GB, free: 10.63 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1287, allocations: 0 / 0.6199 GB, free: 10.63 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1287, allocations: 4 kB / 0.6199 GB, free: 10.63 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009246/0.1296, allocations: 0.5264 MB / 0.6204 GB, free: 10.05 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1297, allocations: 8.031 kB / 0.6204 GB, free: 10.04 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.1297, allocations: 12.84 kB / 0.6205 GB, free: 10.03 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1299, allocations: 204.2 kB / 0.6206 GB, free: 9.793 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1299, allocations: 16.38 kB / 0.6207 GB, free: 9.777 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.13, allocations: 28.28 kB / 0.6207 GB, free: 9.75 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1303, allocations: 182 kB / 0.6209 GB, free: 9.566 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1303, allocations: 4.188 kB / 0.6209 GB, free: 9.562 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.1303, allocations: 15.92 kB / 0.6209 GB, free: 9.547 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1303, allocations: 0 / 0.6209 GB, free: 9.547 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.1305, allocations: 115.9 kB / 0.621 GB, free: 9.434 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1308, allocations: 305.3 kB / 0.6213 GB, free: 9.086 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.1313, allocations: 283 kB / 0.6216 GB, free: 8.801 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1315, allocations: 120.7 kB / 0.6217 GB, free: 8.68 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1315, allocations: 4 kB / 0.6217 GB, free: 8.676 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1316, allocations: 38.56 kB / 0.6217 GB, free: 8.629 MB / 442.8 MB Notification: Performance of pre-optimization done (n=30): time 1.243e-06/0.1316, allocations: 0 / 0.6217 GB, free: 8.629 MB / 442.8 MB Notification: Performance of matching and sorting (n=30): time 0.001604/0.1332, allocations: 0.634 MB / 0.6223 GB, free: 7.965 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1332, allocations: 55.41 kB / 0.6224 GB, free: 7.898 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.096e-05/0.1333, allocations: 105.8 kB / 0.6225 GB, free: 7.785 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1333, allocations: 33.7 kB / 0.6225 GB, free: 7.746 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.1333, allocations: 84.8 kB / 0.6226 GB, free: 7.656 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.1334, allocations: 122.2 kB / 0.6227 GB, free: 7.535 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1335, allocations: 78.12 kB / 0.6228 GB, free: 7.453 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.1336, allocations: 334.8 kB / 0.6231 GB, free: 7.117 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1338, allocations: 124.8 kB / 0.6232 GB, free: 6.996 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1341, allocations: 213.7 kB / 0.6234 GB, free: 6.754 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1345, allocations: 369.1 kB / 0.6238 GB, free: 6.359 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1345, allocations: 3.938 kB / 0.6238 GB, free: 6.355 MB / 442.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009103/0.1354, allocations: 0.5223 MB / 0.6243 GB, free: 5.824 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1354, allocations: 7.984 kB / 0.6243 GB, free: 5.816 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1354, allocations: 4 kB / 0.6243 GB, free: 5.812 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.1361, allocations: 148.7 kB / 0.6244 GB, free: 5.664 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.1363, allocations: 83.84 kB / 0.6245 GB, free: 5.582 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.1385, allocations: 2.003 MB / 0.6265 GB, free: 3.445 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1386, allocations: 27.69 kB / 0.6265 GB, free: 3.418 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1386, allocations: 12 kB / 0.6265 GB, free: 3.406 MB / 442.8 MB 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.0001124/0.1388, allocations: 149.7 kB / 0.6267 GB, free: 3.25 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1388, allocations: 7.906 kB / 0.6267 GB, free: 3.242 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.1389, allocations: 33.16 kB / 0.6267 GB, free: 3.211 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1389, allocations: 4 kB / 0.6267 GB, free: 3.207 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1389, allocations: 8.062 kB / 0.6267 GB, free: 3.199 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1389, allocations: 3.938 kB / 0.6267 GB, free: 3.195 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.1392, allocations: 305.3 kB / 0.627 GB, free: 2.848 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1392, allocations: 0 / 0.627 GB, free: 2.848 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1396, allocations: 67.91 kB / 0.6271 GB, free: 2.781 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.1401, allocations: 148.7 kB / 0.6272 GB, free: 2.633 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1402, allocations: 16.11 kB / 0.6272 GB, free: 2.617 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.1422, allocations: 1.988 MB / 0.6292 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1422, allocations: 4.031 kB / 0.6292 GB, free: 500 kB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/0.1499, allocations: 5.605 MB / 0.6346 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.1499, allocations: 88.95 kB / 0.6347 GB, free: 10.49 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.15, allocations: 15.98 kB / 0.6347 GB, free: 10.47 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1501, allocations: 4 kB / 0.6348 GB, free: 10.47 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.1502, allocations: 31.89 kB / 0.6348 GB, free: 10.44 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1502, allocations: 4 kB / 0.6348 GB, free: 10.43 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.1502, allocations: 83.27 kB / 0.6349 GB, free: 10.35 MB / 458.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1502, allocations: 0 / 0.6349 GB, free: 10.35 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004589/0.1507, allocations: 112.1 kB / 0.635 GB, free: 10.24 MB / 458.8 MB 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.0001237/0.1508, allocations: 111.2 kB / 0.6351 GB, free: 10.12 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0008856/0.1517, allocations: 0.4905 MB / 0.6356 GB, free: 9.621 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1517, allocations: 0 / 0.6356 GB, free: 9.621 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.1523, allocations: 334.3 kB / 0.6359 GB, free: 9.281 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.1525, allocations: 13.66 kB / 0.6359 GB, free: 9.27 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.1548, allocations: 1.952 MB / 0.6378 GB, free: 7.27 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1551, allocations: 0.7524 MB / 0.6385 GB, free: 6.488 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1552, allocations: 73.88 kB / 0.6386 GB, free: 6.414 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.1553, allocations: 27.31 kB / 0.6386 GB, free: 6.387 MB / 458.8 MB Notification: Performance of SimCode: time 2.1e-07/0.1553, allocations: 0 / 0.6386 GB, free: 6.387 MB / 458.8 MB Notification: Performance of Templates: time 0.006763/0.1621, allocations: 4.242 MB / 0.6428 GB, free: 2.188 MB / 458.8 MB 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@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches