Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") translateModel(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009763, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 185.3 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4841/0.4841, allocations: 43.57 MB / 315 MB, free: 8.734 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005446, allocations: 12 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1613, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets): time 0.005378/0.1667, allocations: 4.437 MB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.1728, allocations: 3.057 MB / 450.9 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007893/0.1736, allocations: 11.94 kB / 450.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.1767, allocations: 1.953 MB / 452.9 MB, free: 3.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.179, allocations: 457.5 kB / 453.3 MB, free: 2.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.181, allocations: 0.5538 MB / 453.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.291/0.472, allocations: 2.634 MB / 456.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.4726, allocations: 177.6 kB / 456.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.4739, allocations: 0.5973 MB / 457.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.4752, allocations: 1.35 MB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.4755, allocations: 143.3 kB / 458.8 MB, free: 37.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008402/0.4763, allocations: 331.9 kB / 459.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.4777, allocations: 2.111 MB / 461.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.4804, allocations: 2.423 MB / 463.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00587/0.4863, allocations: 6.503 MB / 470.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.4863, allocations: 0 / 470.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4864, allocations: 7.938 kB / 470.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.4866, allocations: 0 / 470.2 MB, free: 35.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.009923/0.4965, allocations: 4.039 MB / 474.2 MB, free: 33.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4966, allocations: 6.719 kB / 474.2 MB, free: 33.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.4991, allocations: 447.8 kB / 474.6 MB, free: 33.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006408/0.5055, allocations: 2.917 MB / 477.6 MB, free: 32.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.506, allocations: 379.8 kB / 477.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/0.5082, allocations: 316.8 kB / 478.2 MB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.5328, allocations: 6.667 MB / 484.9 MB, free: 31.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.649e-05/0.5329, allocations: 2.125 kB / 484.9 MB, free: 31.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004865/0.5334, allocations: 76.38 kB / 485 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/0.5335, allocations: 38.69 kB / 485 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.5568, allocations: 6.134 MB / 491.2 MB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/0.5766, allocations: 9.267 MB / 0.4887 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/0.5946, allocations: 4.822 MB / 0.4934 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01689/0.6115, allocations: 4.46 MB / 0.4978 GB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.6118, allocations: 41.67 kB / 0.4978 GB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02002/0.6318, allocations: 6.768 MB / 0.5044 GB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=319): time 8.276e-06/0.6318, allocations: 4 kB / 0.5044 GB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=354): time 0.1324/0.7642, allocations: 41.21 MB / 0.5447 GB, free: 5.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005343/0.7648, allocations: 472.5 kB / 0.5451 GB, free: 5.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/0.7749, allocations: 5.865 MB / 0.5508 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009656/0.7759, allocations: 249.6 kB / 0.5511 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.7774, allocations: 1.446 MB / 0.5525 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.7788, allocations: 0.9872 MB / 0.5535 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005953/0.7794, allocations: 464.8 kB / 0.5539 GB, free: 12.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7795, allocations: 305.1 kB / 0.5542 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/0.7823, allocations: 1.489 MB / 0.5556 GB, free: 10.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004395/0.7867, allocations: 3.073 MB / 0.5586 GB, free: 6.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/0.7946, allocations: 4.71 MB / 0.5632 GB, free: 1.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.384e-05/0.7947, allocations: 16 kB / 0.5633 GB, free: 1.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01116/0.8059, allocations: 5.065 MB / 0.5682 GB, free: 12.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.806, allocations: 32.12 kB / 0.5682 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.996e-05/0.806, allocations: 48 kB / 0.5683 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.664e-05/0.8061, allocations: 76 kB / 0.5684 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.81, allocations: 0.8654 MB / 0.5692 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/0.8105, allocations: 0.7387 MB / 0.5699 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.8139, allocations: 223.9 kB / 0.5701 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/0.8143, allocations: 225.1 kB / 0.5703 GB, free: 10.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 437 (Core4.bI,$PRE.Core4.bI,Core4.aSavI,$PRE.Core4.aSavI,Core4.bSavI,$PRE.Core4.bSavI,Core4.hmaxI,$PRE.Core4.hmaxI,Core4.bSav[2],$PRE.Core4.bSav[2],Core4.bSav[3],$PRE.Core4.bSav[3],Core4.bSav[4],$PRE.Core4.bSav[4],Core4.bSav[5],$PRE.Core4.bSav[5],Core4.bSav[6],$PRE.Core4.bSav[6],Core4.bSav[7],$PRE.Core4.bSav[7],Core4.bSav[8],$PRE.Core4.bSav[8],Core4.bSav[9],$PRE.Core4.bSav[9],Core4.bSav[10],$PRE.Core4.bSav[10],Core4.bSav[11],$PRE.Core4.bSav[11],Core4.bSav[12],$PRE.Core4.bSav[12],Core4.bSav[13],$PRE.Core4.bSav[13],Core4.bSav[14],$PRE.Core4.bSav[14],Core4.bSav[15],$PRE.Core4.bSav[15],Core4.bSav[16],$PRE.Core4.bSav[16],Core4.bSav[17],$PRE.Core4.bSav[17],Core4.bSav[18],$PRE.Core4.bSav[18],Core4.bSav[19],$PRE.Core4.bSav[19],Core4.bSav[20],$PRE.Core4.bSav[20],Core4.bSav[21],$PRE.Core4.bSav[21],Core4.bSav[22],$PRE.Core4.bSav[22],Core4.bSav[23],$PRE.Core4.bSav[23],Core4.bSav[24],$PRE.Core4.bSav[24],Core4.bSav[25],$PRE.Core4.bSav[25],Core4.bSav[26],$PRE.Core4.bSav[26],Core4.bSav[27],$PRE.Core4.bSav[27],Core4.bSav[28],$PRE.Core4.bSav[28],Core4.bSav[29],$PRE.Core4.bSav[29],Core4.bSav[30],$PRE.Core4.bSav[30],Core4.bSav[31],$PRE.Core4.bSav[31],Core4.bSav[32],$PRE.Core4.bSav[32],Core4.bSav[33],$PRE.Core4.bSav[33],Core4.bSav[34],$PRE.Core4.bSav[34],Core4.bSav[35],$PRE.Core4.bSav[35],Core4.bSav[36],$PRE.Core4.bSav[36],Core4.bSav[37],$PRE.Core4.bSav[37],Core4.bSav[38],$PRE.Core4.bSav[38],Core4.bSav[39],$PRE.Core4.bSav[39],Core4.bSav[40],$PRE.Core4.bSav[40],Core4.bSav[41],$PRE.Core4.bSav[41],Core4.bSav[42],$PRE.Core4.bSav[42],Core4.bSav[43],$PRE.Core4.bSav[43],Core4.bSav[44],$PRE.Core4.bSav[44],Core4.bSav[45],$PRE.Core4.bSav[45],Core4.bSav[46],$PRE.Core4.bSav[46],Core4.bSav[47],$PRE.Core4.bSav[47],Core4.bSav[48],$PRE.Core4.bSav[48],Core4.bSav[49],$PRE.Core4.bSav[49],Core4.bSav[50],$PRE.Core4.bSav[50],Core4.bSav[51],$PRE.Core4.bSav[51],Core4.bSav[52],$PRE.Core4.bSav[52],Core4.bSav[53],$PRE.Core4.bSav[53],Core4.bSav[54],$PRE.Core4.bSav[54],Core4.bSav[55],$PRE.Core4.bSav[55],Core4.bSav[56],$PRE.Core4.bSav[56],Core4.bSav[57],$PRE.Core4.bSav[57],Core4.bSav[58],$PRE.Core4.bSav[58],Core4.bSav[59],$PRE.Core4.bSav[59],Core4.bSav[60],$PRE.Core4.bSav[60],Core4.bSav[61],$PRE.Core4.bSav[61],Core4.bSav[62],$PRE.Core4.bSav[62],Core4.bSav[63],$PRE.Core4.bSav[63],Core4.bSav[64],$PRE.Core4.bSav[64],Core4.bSav[65],$PRE.Core4.bSav[65],Core4.bSav[66],$PRE.Core4.bSav[66],Core4.bSav[67],$PRE.Core4.bSav[67],Core4.bSav[68],$PRE.Core4.bSav[68],Core4.bSav[69],$PRE.Core4.bSav[69],Core4.bSav[70],$PRE.Core4.bSav[70],Core4.bSav[71],$PRE.Core4.bSav[71],Core4.bSav[72],$PRE.Core4.bSav[72],Core4.bSav[73],$PRE.Core4.bSav[73],Core4.bSav[74],$PRE.Core4.bSav[74],Core4.bSav[75],$PRE.Core4.bSav[75],Core4.bSav[76],$PRE.Core4.bSav[76],Core4.bSav[77],$PRE.Core4.bSav[77],Core4.bSav[78],$PRE.Core4.bSav[78],Core4.bSav[79],$PRE.Core4.bSav[79],Core4.bSav[80],$PRE.Core4.bSav[80],Core4.bSav[81],$PRE.Core4.bSav[81],Core4.bSav[82],$PRE.Core4.bSav[82],Core4.bSav[83],$PRE.Core4.bSav[83],Core4.bSav[84],$PRE.Core4.bSav[84],Core4.bSav[85],$PRE.Core4.bSav[85],Core4.bSav[86],$PRE.Core4.bSav[86],Core4.bSav[87],$PRE.Core4.bSav[87],Core4.bSav[88],$PRE.Core4.bSav[88],Core4.bSav[89],$PRE.Core4.bSav[89],Core4.bSav[90],$PRE.Core4.bSav[90],Core4.bSav[91],$PRE.Core4.bSav[91],Core4.bSav[92],$PRE.Core4.bSav[92],Core4.bSav[93],$PRE.Core4.bSav[93],Core4.bSav[94],$PRE.Core4.bSav[94],Core4.bSav[95],$PRE.Core4.bSav[95],Core4.bSav[96],$PRE.Core4.bSav[96],Core4.bSav[97],$PRE.Core4.bSav[97],Core4.bSav[98],$PRE.Core4.bSav[98],Core4.bSav[99],$PRE.Core4.bSav[99],Core4.bSav[100],$PRE.Core4.bSav[100],Core4.aSav[2],$PRE.Core4.aSav[2],Core4.aSav[3],$PRE.Core4.aSav[3],Core4.aSav[4],$PRE.Core4.aSav[4],Core4.aSav[5],$PRE.Core4.aSav[5],Core4.aSav[6],$PRE.Core4.aSav[6],Core4.aSav[7],$PRE.Core4.aSav[7],Core4.aSav[8],$PRE.Core4.aSav[8],Core4.aSav[9],$PRE.Core4.aSav[9],Core4.aSav[10],$PRE.Core4.aSav[10],Core4.aSav[11],$PRE.Core4.aSav[11],Core4.aSav[12],$PRE.Core4.aSav[12],Core4.aSav[13],$PRE.Core4.aSav[13],Core4.aSav[14],$PRE.Core4.aSav[14],Core4.aSav[15],$PRE.Core4.aSav[15],Core4.aSav[16],$PRE.Core4.aSav[16],Core4.aSav[17],$PRE.Core4.aSav[17],Core4.aSav[18],$PRE.Core4.aSav[18],Core4.aSav[19],$PRE.Core4.aSav[19],Core4.aSav[20],$PRE.Core4.aSav[20],Core4.aSav[21],$PRE.Core4.aSav[21],Core4.aSav[22],$PRE.Core4.aSav[22],Core4.aSav[23],$PRE.Core4.aSav[23],Core4.aSav[24],$PRE.Core4.aSav[24],Core4.aSav[25],$PRE.Core4.aSav[25],Core4.aSav[26],$PRE.Core4.aSav[26],Core4.aSav[27],$PRE.Core4.aSav[27],Core4.aSav[28],$PRE.Core4.aSav[28],Core4.aSav[29],$PRE.Core4.aSav[29],Core4.aSav[30],$PRE.Core4.aSav[30],Core4.aSav[31],$PRE.Core4.aSav[31],Core4.aSav[32],$PRE.Core4.aSav[32],Core4.aSav[33],$PRE.Core4.aSav[33],Core4.aSav[34],$PRE.Core4.aSav[34],Core4.aSav[35],$PRE.Core4.aSav[35],Core4.aSav[36],$PRE.Core4.aSav[36],Core4.aSav[37],$PRE.Core4.aSav[37],Core4.aSav[38],$PRE.Core4.aSav[38],Core4.aSav[39],$PRE.Core4.aSav[39],Core4.aSav[40],$PRE.Core4.aSav[40],Core4.aSav[41],$PRE.Core4.aSav[41],Core4.aSav[42],$PRE.Core4.aSav[42],Core4.aSav[43],$PRE.Core4.aSav[43],Core4.aSav[44],$PRE.Core4.aSav[44],Core4.aSav[45],$PRE.Core4.aSav[45],Core4.aSav[46],$PRE.Core4.aSav[46],Core4.aSav[47],$PRE.Core4.aSav[47],Core4.aSav[48],$PRE.Core4.aSav[48],Core4.aSav[49],$PRE.Core4.aSav[49],Core4.aSav[50],$PRE.Core4.aSav[50],Core4.aSav[51],$PRE.Core4.aSav[51],Core4.aSav[52],$PRE.Core4.aSav[52],Core4.aSav[53],$PRE.Core4.aSav[53],Core4.aSav[54],$PRE.Core4.aSav[54],Core4.aSav[55],$PRE.Core4.aSav[55],Core4.aSav[56],$PRE.Core4.aSav[56],Core4.aSav[57],$PRE.Core4.aSav[57],Core4.aSav[58],$PRE.Core4.aSav[58],Core4.aSav[59],$PRE.Core4.aSav[59],Core4.aSav[60],$PRE.Core4.aSav[60],Core4.aSav[61],$PRE.Core4.aSav[61],Core4.aSav[62],$PRE.Core4.aSav[62],Core4.aSav[63],$PRE.Core4.aSav[63],Core4.aSav[64],$PRE.Core4.aSav[64],Core4.aSav[65],$PRE.Core4.aSav[65],Core4.aSav[66],$PRE.Core4.aSav[66],Core4.aSav[67],$PRE.Core4.aSav[67],Core4.aSav[68],$PRE.Core4.aSav[68],Core4.aSav[69],$PRE.Core4.aSav[69],Core4.aSav[70],$PRE.Core4.aSav[70],Core4.aSav[71],$PRE.Core4.aSav[71],Core4.aSav[72],$PRE.Core4.aSav[72],Core4.aSav[73],$PRE.Core4.aSav[73],Core4.aSav[74],$PRE.Core4.aSav[74],Core4.aSav[75],$PRE.Core4.aSav[75],Core4.aSav[76],$PRE.Core4.aSav[76],Core4.aSav[77],$PRE.Core4.aSav[77],Core4.aSav[78],$PRE.Core4.aSav[78],Core4.aSav[79],$PRE.Core4.aSav[79],Core4.aSav[80],$PRE.Core4.aSav[80],Core4.aSav[81],$PRE.Core4.aSav[81],Core4.aSav[82],$PRE.Core4.aSav[82],Core4.aSav[83],$PRE.Core4.aSav[83],Core4.aSav[84],$PRE.Core4.aSav[84],Core4.aSav[85],$PRE.Core4.aSav[85],Core4.aSav[86],$PRE.Core4.aSav[86],Core4.aSav[87],$PRE.Core4.aSav[87],Core4.aSav[88],$PRE.Core4.aSav[88],Core4.aSav[89],$PRE.Core4.aSav[89],Core4.aSav[90],$PRE.Core4.aSav[90],Core4.aSav[91],$PRE.Core4.aSav[91],Core4.aSav[92],$PRE.Core4.aSav[92],Core4.aSav[93],$PRE.Core4.aSav[93],Core4.aSav[94],$PRE.Core4.aSav[94],Core4.aSav[95],$PRE.Core4.aSav[95],Core4.aSav[96],$PRE.Core4.aSav[96],Core4.aSav[97],$PRE.Core4.aSav[97],Core4.aSav[98],$PRE.Core4.aSav[98],Core4.aSav[99],$PRE.Core4.aSav[99],Core4.aSav[100],$PRE.Core4.aSav[100],PM.asc,Core1.asc,Core4.init3,Core4.init2,$PRE.Core4.init2,Core4.bSav[1],$PRE.Core4.bSav[1],Core4.aSav[1],$PRE.Core4.aSav[1],Core4.evDesc,Core4.evAsc,Core4.evInit,Core4.init,$PRE.Core4.init,Core4.del,Core4.delDesc,Core4.delAsc,Core4.asc2,Core4.asc,$PRE.Core4.asc,Core4.hmax,$PRE.Core4.hmax,Core3.asc,Core2.asc,Core.asc,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004552/0.8188, allocations: 1.677 MB / 0.572 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/0.8207, allocations: 411 kB / 0.5724 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04313/0.8639, allocations: 17.89 MB / 0.5898 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/0.864, allocations: 40 kB / 0.5899 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.864, allocations: 7.938 kB / 0.5899 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/0.864, allocations: 20.98 kB / 0.5899 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06444/0.9285, allocations: 23.94 MB / 0.6133 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.9286, allocations: 4 kB / 0.6133 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/0.9308, allocations: 319.6 kB / 0.6136 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-05/0.9309, allocations: 20 kB / 0.6136 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001825/0.9327, allocations: 243.5 kB / 0.6138 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.252e-05/0.9328, allocations: 15.94 kB / 0.6139 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.9328, allocations: 10.44 kB / 0.6139 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2866/1.219, allocations: 21.96 MB / 0.6353 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/1.223, allocations: 1.271 MB / 0.6366 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002898/1.226, allocations: 1.145 MB / 0.6377 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008819/1.235, allocations: 1.376 MB / 0.639 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.236, allocations: 256.7 kB / 0.6393 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001736/1.238, allocations: 363.5 kB / 0.6396 GB, free: 148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007828/1.246, allocations: 4.18 MB / 0.6437 GB, free: 146.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.163e-06/1.246, allocations: 0 / 0.6437 GB, free: 146.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008206/1.254, allocations: 1.015 MB / 0.6447 GB, free: 146.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 15 (Core.MagRel,Core2.MagRel,Core3.MagRel,Core4.MagRel,Core1.MagRel,PM.MagRel,Core1.B,PM.B,Core.B,Core2.B,Core3.B,Core4.J,Core4.beta,Core4.v,Core4.x) * Number of discrete variables: 229 (Core1.asc,PM.asc,Core4.init3,Core4.evDesc,Core4.evAsc,Core4.del,Core4.evInit,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core.asc,Core2.asc,Core3.asc,Core4.hmax,Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.init,Core4.aSav[1],Core4.aSav[2],Core4.aSav[3],Core4.aSav[4],Core4.aSav[5],Core4.aSav[6],Core4.aSav[7],Core4.aSav[8],Core4.aSav[9],Core4.aSav[10],Core4.aSav[11],Core4.aSav[12],Core4.aSav[13],Core4.aSav[14],Core4.aSav[15],Core4.aSav[16],Core4.aSav[17],Core4.aSav[18],Core4.aSav[19],Core4.aSav[20],Core4.aSav[21],Core4.aSav[22],Core4.aSav[23],Core4.aSav[24],Core4.aSav[25],Core4.aSav[26],Core4.aSav[27],Core4.aSav[28],Core4.aSav[29],Core4.aSav[30],Core4.aSav[31],Core4.aSav[32],Core4.aSav[33],Core4.aSav[34],Core4.aSav[35],Core4.aSav[36],Core4.aSav[37],Core4.aSav[38],Core4.aSav[39],Core4.aSav[40],Core4.aSav[41],Core4.aSav[42],Core4.aSav[43],Core4.aSav[44],Core4.aSav[45],Core4.aSav[46],Core4.aSav[47],Core4.aSav[48],Core4.aSav[49],Core4.aSav[50],Core4.aSav[51],Core4.aSav[52],Core4.aSav[53],Core4.aSav[54],Core4.aSav[55],Core4.aSav[56],Core4.aSav[57],Core4.aSav[58],Core4.aSav[59],Core4.aSav[60],Core4.aSav[61],Core4.aSav[62],Core4.aSav[63],Core4.aSav[64],Core4.aSav[65],Core4.aSav[66],Core4.aSav[67],Core4.aSav[68],Core4.aSav[69],Core4.aSav[70],Core4.aSav[71],Core4.aSav[72],Core4.aSav[73],Core4.aSav[74],Core4.aSav[75],Core4.aSav[76],Core4.aSav[77],Core4.aSav[78],Core4.aSav[79],Core4.aSav[80],Core4.aSav[81],Core4.aSav[82],Core4.aSav[83],Core4.aSav[84],Core4.aSav[85],Core4.aSav[86],Core4.aSav[87],Core4.aSav[88],Core4.aSav[89],Core4.aSav[90],Core4.aSav[91],Core4.aSav[92],Core4.aSav[93],Core4.aSav[94],Core4.aSav[95],Core4.aSav[96],Core4.aSav[97],Core4.aSav[98],Core4.aSav[99],Core4.aSav[100],Core4.bSav[1],Core4.bSav[2],Core4.bSav[3],Core4.bSav[4],Core4.bSav[5],Core4.bSav[6],Core4.bSav[7],Core4.bSav[8],Core4.bSav[9],Core4.bSav[10],Core4.bSav[11],Core4.bSav[12],Core4.bSav[13],Core4.bSav[14],Core4.bSav[15],Core4.bSav[16],Core4.bSav[17],Core4.bSav[18],Core4.bSav[19],Core4.bSav[20],Core4.bSav[21],Core4.bSav[22],Core4.bSav[23],Core4.bSav[24],Core4.bSav[25],Core4.bSav[26],Core4.bSav[27],Core4.bSav[28],Core4.bSav[29],Core4.bSav[30],Core4.bSav[31],Core4.bSav[32],Core4.bSav[33],Core4.bSav[34],Core4.bSav[35],Core4.bSav[36],Core4.bSav[37],Core4.bSav[38],Core4.bSav[39],Core4.bSav[40],Core4.bSav[41],Core4.bSav[42],Core4.bSav[43],Core4.bSav[44],Core4.bSav[45],Core4.bSav[46],Core4.bSav[47],Core4.bSav[48],Core4.bSav[49],Core4.bSav[50],Core4.bSav[51],Core4.bSav[52],Core4.bSav[53],Core4.bSav[54],Core4.bSav[55],Core4.bSav[56],Core4.bSav[57],Core4.bSav[58],Core4.bSav[59],Core4.bSav[60],Core4.bSav[61],Core4.bSav[62],Core4.bSav[63],Core4.bSav[64],Core4.bSav[65],Core4.bSav[66],Core4.bSav[67],Core4.bSav[68],Core4.bSav[69],Core4.bSav[70],Core4.bSav[71],Core4.bSav[72],Core4.bSav[73],Core4.bSav[74],Core4.bSav[75],Core4.bSav[76],Core4.bSav[77],Core4.bSav[78],Core4.bSav[79],Core4.bSav[80],Core4.bSav[81],Core4.bSav[82],Core4.bSav[83],Core4.bSav[84],Core4.bSav[85],Core4.bSav[86],Core4.bSav[87],Core4.bSav[88],Core4.bSav[89],Core4.bSav[90],Core4.bSav[91],Core4.bSav[92],Core4.bSav[93],Core4.bSav[94],Core4.bSav[95],Core4.bSav[96],Core4.bSav[97],Core4.bSav[98],Core4.bSav[99],Core4.bSav[100],Core4.init2,Core4.aSavI,Core4.bSavI,Core4.bI,Core4.hmaxI) * Number of discrete states: 204 (Core4.hmax,Core4.init,Core4.bSav[1],Core4.aSav[1],Core4.asc,Core4.init2,Core4.aSav[99],Core4.aSav[100],Core4.aSav[98],Core4.aSav[97],Core4.aSav[96],Core4.aSav[95],Core4.aSav[94],Core4.aSav[93],Core4.aSav[92],Core4.aSav[91],Core4.aSav[90],Core4.aSav[89],Core4.aSav[88],Core4.aSav[87],Core4.aSav[86],Core4.aSav[85],Core4.aSav[84],Core4.aSav[83],Core4.aSav[82],Core4.aSav[81],Core4.aSav[80],Core4.aSav[79],Core4.aSav[78],Core4.aSav[77],Core4.aSav[76],Core4.aSav[75],Core4.aSav[74],Core4.aSav[73],Core4.aSav[72],Core4.aSav[71],Core4.aSav[70],Core4.aSav[69],Core4.aSav[68],Core4.aSav[67],Core4.aSav[66],Core4.aSav[65],Core4.aSav[64],Core4.aSav[63],Core4.aSav[62],Core4.aSav[61],Core4.aSav[60],Core4.aSav[59],Core4.aSav[58],Core4.aSav[57],Core4.aSav[56],Core4.aSav[55],Core4.aSav[54],Core4.aSav[53],Core4.aSav[52],Core4.aSav[51],Core4.aSav[50],Core4.aSav[49],Core4.aSav[48],Core4.aSav[47],Core4.aSav[46],Core4.aSav[45],Core4.aSav[44],Core4.aSav[43],Core4.aSav[42],Core4.aSav[41],Core4.aSav[40],Core4.aSav[39],Core4.aSav[38],Core4.aSav[37],Core4.aSav[36],Core4.aSav[35],Core4.aSav[34],Core4.aSav[33],Core4.aSav[32],Core4.aSav[31],Core4.aSav[30],Core4.aSav[29],Core4.aSav[28],Core4.aSav[27],Core4.aSav[26],Core4.aSav[25],Core4.aSav[24],Core4.aSav[23],Core4.aSav[22],Core4.aSav[21],Core4.aSav[20],Core4.aSav[19],Core4.aSav[18],Core4.aSav[17],Core4.aSav[16],Core4.aSav[15],Core4.aSav[14],Core4.aSav[13],Core4.aSav[12],Core4.aSav[11],Core4.aSav[10],Core4.aSav[9],Core4.aSav[8],Core4.aSav[7],Core4.aSav[6],Core4.aSav[5],Core4.aSav[4],Core4.aSav[3],Core4.aSav[2],Core4.bSav[99],Core4.bSav[100],Core4.bSav[98],Core4.bSav[97],Core4.bSav[96],Core4.bSav[95],Core4.bSav[94],Core4.bSav[93],Core4.bSav[92],Core4.bSav[91],Core4.bSav[90],Core4.bSav[89],Core4.bSav[88],Core4.bSav[87],Core4.bSav[86],Core4.bSav[85],Core4.bSav[84],Core4.bSav[83],Core4.bSav[82],Core4.bSav[81],Core4.bSav[80],Core4.bSav[79],Core4.bSav[78],Core4.bSav[77],Core4.bSav[76],Core4.bSav[75],Core4.bSav[74],Core4.bSav[73],Core4.bSav[72],Core4.bSav[71],Core4.bSav[70],Core4.bSav[69],Core4.bSav[68],Core4.bSav[67],Core4.bSav[66],Core4.bSav[65],Core4.bSav[64],Core4.bSav[63],Core4.bSav[62],Core4.bSav[61],Core4.bSav[60],Core4.bSav[59],Core4.bSav[58],Core4.bSav[57],Core4.bSav[56],Core4.bSav[55],Core4.bSav[54],Core4.bSav[53],Core4.bSav[52],Core4.bSav[51],Core4.bSav[50],Core4.bSav[49],Core4.bSav[48],Core4.bSav[47],Core4.bSav[46],Core4.bSav[45],Core4.bSav[44],Core4.bSav[43],Core4.bSav[42],Core4.bSav[41],Core4.bSav[40],Core4.bSav[39],Core4.bSav[38],Core4.bSav[37],Core4.bSav[36],Core4.bSav[35],Core4.bSav[34],Core4.bSav[33],Core4.bSav[32],Core4.bSav[31],Core4.bSav[30],Core4.bSav[29],Core4.bSav[28],Core4.bSav[27],Core4.bSav[26],Core4.bSav[25],Core4.bSav[24],Core4.bSav[23],Core4.bSav[22],Core4.bSav[21],Core4.bSav[20],Core4.bSav[19],Core4.bSav[18],Core4.bSav[17],Core4.bSav[16],Core4.bSav[15],Core4.bSav[14],Core4.bSav[13],Core4.bSav[12],Core4.bSav[11],Core4.bSav[10],Core4.bSav[9],Core4.bSav[8],Core4.bSav[7],Core4.bSav[6],Core4.bSav[5],Core4.bSav[4],Core4.bSav[3],Core4.bSav[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (382): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 205 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004851/1.259, allocations: 1.365 MB / 0.646 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02189/1.281, allocations: 6.793 MB / 0.6526 GB, free: 144.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.281, allocations: 1.531 kB / 0.6527 GB, free: 144.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01693/1.298, allocations: 4.878 MB / 0.6574 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006254/1.304, allocations: 357.4 kB / 0.6578 GB, free: 142.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/1.334, allocations: 12.9 MB / 0.6703 GB, free: 136.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.336, allocations: 2.309 MB / 0.6726 GB, free: 135.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00185/1.337, allocations: 0.5485 MB / 0.6731 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/1.338, allocations: 241.2 kB / 0.6734 GB, free: 134.8 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/1.338, allocations: 0 / 0.6734 GB, free: 134.8 MB / 494.1 MB Notification: Performance of Templates: time 0.08321/1.422, allocations: 56.39 MB / 0.7284 GB, free: 78.34 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/HysteresisAndMagnets/HysteresisAndMagnets.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches