Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001122/0.001122, allocations: 192.9 kB / 17.27 MB, free: 4.5 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.293/1.293, 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.001111/0.001112, allocations: 92.83 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8385/0.8385, allocations: 119.3 MB / 460.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009619/0.0009619, allocations: 51.92 kB / 0.5391 GB, free: 43.18 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1446, allocations: 80.7 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002666/0.1473, allocations: 1.285 MB / 0.6192 GB, free: 11.42 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001973/0.1476, allocations: 43.88 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.1476, allocations: 0 / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.094e-05/0.1477, allocations: 3.938 kB / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.1478, allocations: 19.97 kB / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.148, allocations: 11.98 kB / 0.6193 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.1484, allocations: 451.4 kB / 0.6197 GB, free: 10.9 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.1485, allocations: 7.938 kB / 0.6197 GB, free: 10.89 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1487, allocations: 155.8 kB / 0.6198 GB, free: 10.74 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.149, allocations: 151.7 kB / 0.62 GB, free: 10.59 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.149, allocations: 20 kB / 0.62 GB, free: 10.57 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.1491, allocations: 24 kB / 0.62 GB, free: 10.55 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1492, allocations: 131.7 kB / 0.6202 GB, free: 10.42 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.1494, allocations: 143.4 kB / 0.6203 GB, free: 10.28 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1497, allocations: 223.5 kB / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1497, allocations: 0 / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1497, allocations: 0 / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1497, 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.001647/0.1514, allocations: 0.769 MB / 0.6213 GB, free: 9.238 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1514, allocations: 8.031 kB / 0.6213 GB, free: 9.23 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.1515, allocations: 24.75 kB / 0.6213 GB, free: 9.207 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.1519, allocations: 244 kB / 0.6215 GB, free: 8.93 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1519, allocations: 24.94 kB / 0.6215 GB, free: 8.902 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.152, allocations: 56.27 kB / 0.6216 GB, free: 8.848 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.1525, allocations: 337.2 kB / 0.6219 GB, free: 8.512 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.1526, allocations: 8.094 kB / 0.6219 GB, free: 8.504 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.1526, allocations: 19.94 kB / 0.6219 GB, free: 8.484 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1526, allocations: 4 kB / 0.6219 GB, free: 8.48 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.153, allocations: 218 kB / 0.6222 GB, free: 8.27 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.1536, allocations: 471.9 kB / 0.6226 GB, free: 7.758 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.1545, allocations: 0.49 MB / 0.6231 GB, free: 7.262 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.1548, allocations: 242.4 kB / 0.6233 GB, free: 7.023 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.1549, allocations: 8.5 kB / 0.6233 GB, free: 7.016 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1549, allocations: 47.06 kB / 0.6234 GB, free: 6.957 MB / 442.8 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.1549, allocations: 0 / 0.6234 GB, free: 6.957 MB / 442.8 MB Notification: Performance of matching and sorting (n=60): time 0.003875/0.1588, allocations: 1.249 MB / 0.6246 GB, free: 5.68 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1588, allocations: 55.97 kB / 0.6246 GB, free: 5.613 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.1589, allocations: 113.8 kB / 0.6248 GB, free: 5.492 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.159, allocations: 41.7 kB / 0.6248 GB, free: 5.445 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.159, allocations: 93.45 kB / 0.6249 GB, free: 5.348 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.1592, allocations: 256.3 kB / 0.6251 GB, free: 5.094 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1594, allocations: 146.7 kB / 0.6253 GB, free: 4.945 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1596, allocations: 350.8 kB / 0.6256 GB, free: 4.594 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.1599, allocations: 257.8 kB / 0.6258 GB, free: 4.344 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.1604, allocations: 424.4 kB / 0.6262 GB, free: 3.863 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.1614, allocations: 0.7151 MB / 0.6269 GB, free: 3.082 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1614, allocations: 4 kB / 0.627 GB, free: 3.078 MB / 442.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001953/0.1633, allocations: 1.014 MB / 0.6279 GB, free: 2.055 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1634, allocations: 8 kB / 0.6279 GB, free: 2.047 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.1634, allocations: 4 kB / 0.628 GB, free: 2.043 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.1647, allocations: 303.6 kB / 0.6282 GB, free: 1.746 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.1652, allocations: 163.8 kB / 0.6284 GB, free: 1.586 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.1693, allocations: 2.872 MB / 0.6312 GB, free: 14.58 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1697, allocations: 55.38 kB / 0.6313 GB, free: 14.53 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.1697, allocations: 32 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.0002026/0.1699, allocations: 173.7 kB / 0.6315 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.17, allocations: 23.75 kB / 0.6315 GB, free: 14.29 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.1702, allocations: 57.88 kB / 0.6315 GB, free: 14.24 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1702, allocations: 8 kB / 0.6315 GB, free: 14.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.1702, allocations: 3.984 kB / 0.6315 GB, free: 14.23 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1702, allocations: 4 kB / 0.6315 GB, free: 14.22 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.1707, allocations: 465.5 kB / 0.632 GB, free: 13.72 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1707, allocations: 3.938 kB / 0.632 GB, free: 13.71 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.1715, allocations: 135.9 kB / 0.6321 GB, free: 13.58 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.1726, allocations: 288.5 kB / 0.6324 GB, free: 13.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.1727, allocations: 31.97 kB / 0.6324 GB, free: 13.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.1767, allocations: 2.868 MB / 0.6352 GB, free: 10.27 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1767, allocations: 0 / 0.6352 GB, free: 10.27 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.1924, allocations: 9.423 MB / 0.6444 GB, free: 0.5508 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.1925, allocations: 100.8 kB / 0.6445 GB, free: 444 kB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.1925, allocations: 27.97 kB / 0.6446 GB, free: 416 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1927, allocations: 8 kB / 0.6446 GB, free: 408 kB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.1929, allocations: 44.5 kB / 0.6446 GB, free: 364 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.1929, allocations: 23.98 kB / 0.6446 GB, free: 340 kB / 458.8 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.193, allocations: 79.28 kB / 0.6447 GB, free: 260 kB / 458.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.193, allocations: 3.938 kB / 0.6447 GB, free: 256 kB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006792/0.1937, allocations: 212 kB / 0.6449 GB, free: 44 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.000199/0.1939, allocations: 135.8 kB / 0.645 GB, free: 15.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.1955, allocations: 0.8956 MB / 0.6459 GB, free: 14.99 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1956, allocations: 4 kB / 0.6459 GB, free: 14.98 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.1966, allocations: 0.5515 MB / 0.6465 GB, free: 14.42 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1969, allocations: 29.09 kB / 0.6465 GB, free: 14.39 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.2017, allocations: 3.646 MB / 0.65 GB, free: 10.69 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2021, allocations: 0.8289 MB / 0.6509 GB, free: 9.836 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.2025, allocations: 163.1 kB / 0.651 GB, free: 9.68 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.2026, allocations: 27.44 kB / 0.651 GB, free: 9.652 MB / 474.8 MB Notification: Performance of SimCode: time 5.31e-07/0.2026, allocations: 0 / 0.651 GB, free: 9.652 MB / 474.8 MB Notification: Performance of Templates: time 0.01293/0.2155, allocations: 8.174 MB / 0.659 GB, free: 1.516 MB / 474.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches