Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001593, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3326, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.00681/0.3395, allocations: 4.928 MB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.3455, allocations: 3.333 MB / 0.5386 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000866/0.3464, allocations: 12.03 kB / 0.5386 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.3506, allocations: 2.787 MB / 0.5413 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.3524, allocations: 0.5565 MB / 0.5418 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3543, allocations: 0.6672 MB / 0.5425 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.3582, allocations: 2.788 MB / 0.5452 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.3587, allocations: 201.2 kB / 0.5454 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.36, allocations: 0.6836 MB / 0.5461 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3619, allocations: 1.441 MB / 0.5475 GB, free: 348 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.3626, allocations: 260 kB / 0.5477 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.364, allocations: 467.8 kB / 0.5482 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.366, allocations: 2.216 MB / 0.5503 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.3698, allocations: 2.505 MB / 0.5528 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00893/0.3787, allocations: 6.908 MB / 0.5595 GB, free: 3.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3788, allocations: 0 / 0.5595 GB, free: 3.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3788, allocations: 4 kB / 0.5595 GB, free: 3.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001717/0.379, allocations: 0 / 0.5595 GB, free: 3.961 MB / 414.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.01411/0.3931, allocations: 5.26 MB / 0.5647 GB, free: 14.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3932, allocations: 12.03 kB / 0.5647 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.3943, allocations: 247.9 kB / 0.5649 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.3966, allocations: 494.1 kB / 0.5654 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007406/0.404, allocations: 2.972 MB / 0.5683 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/0.4046, allocations: 384.5 kB / 0.5687 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/0.4066, allocations: 311.7 kB / 0.569 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.4267, allocations: 5.989 MB / 0.5748 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-05/0.4268, allocations: 7.922 kB / 0.5748 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/0.4279, allocations: 83.91 kB / 0.5749 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.428, allocations: 36 kB / 0.5749 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/0.4502, allocations: 5.45 MB / 0.5803 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.471, allocations: 9.099 MB / 0.5891 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.4862, allocations: 4.153 MB / 0.5932 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01396/0.5002, allocations: 3.783 MB / 0.5969 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.5004, allocations: 38.16 kB / 0.5969 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01901/0.5194, allocations: 6.098 MB / 0.6029 GB, free: 6.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=319): time 1.446e-05/0.5195, allocations: 4 kB / 0.6029 GB, free: 6.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=354): time 0.1195/0.639, allocations: 38.03 MB / 0.64 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005062/0.6396, allocations: 477.6 kB / 0.6405 GB, free: 248 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009138/0.6487, allocations: 5.894 MB / 0.6462 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006919/0.6495, allocations: 249.6 kB / 0.6465 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.6511, allocations: 1.457 MB / 0.6479 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.6525, allocations: 1.027 MB / 0.6489 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/0.6548, allocations: 0.8167 MB / 0.6497 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6549, allocations: 309.1 kB / 0.65 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/0.6583, allocations: 1.465 MB / 0.6514 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/0.6627, allocations: 3.055 MB / 0.6544 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006692/0.6694, allocations: 4.667 MB / 0.659 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.812e-05/0.6695, allocations: 12 kB / 0.659 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.009949/0.6795, allocations: 5.041 MB / 0.6639 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.6796, allocations: 28 kB / 0.6639 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-05/0.6797, allocations: 52 kB / 0.664 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.6798, allocations: 83.94 kB / 0.6641 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.6838, allocations: 0.8461 MB / 0.6649 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00072/0.6845, allocations: 0.7263 MB / 0.6656 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/0.6878, allocations: 212 kB / 0.6658 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000577/0.6883, allocations: 216 kB / 0.666 GB, free: 4.605 MB / 0.5137 GB 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.00497/0.6933, allocations: 1.688 MB / 0.6677 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/0.6954, allocations: 429.2 kB / 0.6681 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04465/0.7401, allocations: 16.53 MB / 0.6842 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/0.7402, allocations: 36 kB / 0.6842 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/0.7402, allocations: 4 kB / 0.6842 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.7403, allocations: 23.92 kB / 0.6843 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06402/0.8043, allocations: 21.86 MB / 0.7056 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.8044, allocations: 4 kB / 0.7056 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/0.8066, allocations: 315.5 kB / 0.7059 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.147e-05/0.8066, allocations: 12 kB / 0.7059 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001453/0.8081, allocations: 239.5 kB / 0.7062 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.934e-05/0.8081, allocations: 19.98 kB / 0.7062 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8081, allocations: 0 / 0.7062 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3221/1.13, allocations: 19.94 MB / 0.7256 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005694/1.136, allocations: 1.286 MB / 0.7269 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005064/1.141, allocations: 1.145 MB / 0.728 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01202/1.153, allocations: 1.033 MB / 0.729 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009992/1.154, allocations: 247.7 kB / 0.7293 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001836/1.156, allocations: 365.2 kB / 0.7296 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006448/1.162, allocations: 4.199 MB / 0.7337 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.51e-07/1.163, allocations: 3.875 kB / 0.7337 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004193/1.167, allocations: 1.017 MB / 0.7347 GB, free: 164.2 MB / 0.5606 GB 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.04737/1.214, allocations: 21.78 MB / 0.756 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.232, allocations: 6.077 MB / 0.7619 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.232, allocations: 2 kB / 0.7619 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01345/1.245, allocations: 4.189 MB / 0.766 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.248, allocations: 366 kB / 0.7664 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06903/1.317, allocations: 40.44 MB / 0.8058 GB, free: 89.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.319, allocations: 2.318 MB / 0.8081 GB, free: 87.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001436/1.32, allocations: 0.549 MB / 0.8086 GB, free: 86.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/1.322, allocations: 1.538 MB / 0.8101 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of SimCode: time 6.32e-07/1.322, allocations: 4 kB / 0.8102 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.444, allocations: 91.93 MB / 0.8999 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.16/23.61, allocations: 14.81 kB / 0.8999 GB, free: 9.641 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/HysteresisAndMagnets.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches