Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007512/0.0007513, allocations: 92.95 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3649/0.3649, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets): time 0.005019/0.1311, allocations: 4.206 MB / 495 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.1361, allocations: 2.91 MB / 497.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006281/0.1368, allocations: 11.94 kB / 497.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.1394, allocations: 1.808 MB / 499.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1408, allocations: 433.5 kB / 0.4885 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1424, allocations: 0.507 MB / 0.489 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.239/0.3814, allocations: 2.633 MB / 0.4915 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.3819, allocations: 180 kB / 0.4917 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.3832, allocations: 0.7222 MB / 0.4924 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.3851, allocations: 1.517 MB / 0.4939 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.3855, allocations: 142.8 kB / 0.494 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008302/0.3863, allocations: 326.1 kB / 0.4943 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.3882, allocations: 2.25 MB / 0.4965 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.3908, allocations: 2.345 MB / 0.4988 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004278/0.3951, allocations: 5.288 MB / 0.504 GB, free: 34.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3951, allocations: 0 / 0.504 GB, free: 34.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3951, allocations: 0 / 0.504 GB, free: 34.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001455/0.3953, allocations: 0 / 0.504 GB, free: 34.51 MB / 378.7 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.009154/0.4044, allocations: 4.041 MB / 0.5079 GB, free: 32.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4045, allocations: 10.16 kB / 0.5079 GB, free: 32.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.4066, allocations: 444.7 kB / 0.5084 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/0.4122, allocations: 2.924 MB / 0.5112 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/0.4126, allocations: 375.3 kB / 0.5116 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.414, allocations: 318.2 kB / 0.5119 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.4328, allocations: 6.649 MB / 0.5184 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.707e-05/0.4329, allocations: 4.594 kB / 0.5184 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/0.4334, allocations: 77.58 kB / 0.5184 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.4335, allocations: 38.19 kB / 0.5185 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.4497, allocations: 6.133 MB / 0.5245 GB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.4679, allocations: 9.263 MB / 0.5335 GB, free: 21.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.4826, allocations: 4.813 MB / 0.5382 GB, free: 19.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01365/0.4962, allocations: 4.45 MB / 0.5426 GB, free: 17.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.4965, allocations: 39.61 kB / 0.5426 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0182/0.5147, allocations: 6.759 MB / 0.5492 GB, free: 12.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=319): time 1.129e-05/0.5147, allocations: 3.938 kB / 0.5492 GB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=354): time 0.1179/0.6327, allocations: 41.18 MB / 0.5894 GB, free: 3.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004581/0.6332, allocations: 470.2 kB / 0.5899 GB, free: 2.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009416/0.6426, allocations: 5.872 MB / 0.5956 GB, free: 13.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008179/0.6434, allocations: 249.6 kB / 0.5958 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.6449, allocations: 1.448 MB / 0.5973 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.6462, allocations: 0.9898 MB / 0.5982 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/0.6468, allocations: 96 kB / 0.5983 GB, free: 10.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004774/0.6472, allocations: 496.8 kB / 0.5988 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/0.6507, allocations: 1.473 MB / 0.6002 GB, free: 8.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/0.6552, allocations: 3.053 MB / 0.6032 GB, free: 4.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006995/0.6622, allocations: 4.676 MB / 0.6078 GB, free: 15.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-05/0.6623, allocations: 12 kB / 0.6078 GB, free: 15.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.0108/0.6731, allocations: 5.031 MB / 0.6127 GB, free: 10.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.6732, allocations: 28 kB / 0.6127 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/0.6733, allocations: 51.98 kB / 0.6128 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.6735, allocations: 83.09 kB / 0.6129 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/0.6773, allocations: 0.8647 MB / 0.6137 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005683/0.6779, allocations: 0.734 MB / 0.6144 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.6812, allocations: 220 kB / 0.6146 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/0.6817, allocations: 223.9 kB / 0.6148 GB, free: 7.902 MB / 442.7 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 ($PRE.Core4.bI,Core4.bI,$PRE.Core4.aSavI,Core4.aSavI,$PRE.Core4.bSavI,Core4.bSavI,$PRE.Core4.hmaxI,Core4.hmaxI,$PRE.Core4.bSav[2],Core4.bSav[2],$PRE.Core4.bSav[3],Core4.bSav[3],$PRE.Core4.bSav[4],Core4.bSav[4],$PRE.Core4.bSav[5],Core4.bSav[5],$PRE.Core4.bSav[6],Core4.bSav[6],$PRE.Core4.bSav[7],Core4.bSav[7],$PRE.Core4.bSav[8],Core4.bSav[8],$PRE.Core4.bSav[9],Core4.bSav[9],$PRE.Core4.bSav[10],Core4.bSav[10],$PRE.Core4.bSav[11],Core4.bSav[11],$PRE.Core4.bSav[12],Core4.bSav[12],$PRE.Core4.bSav[13],Core4.bSav[13],$PRE.Core4.bSav[14],Core4.bSav[14],$PRE.Core4.bSav[15],Core4.bSav[15],$PRE.Core4.bSav[16],Core4.bSav[16],$PRE.Core4.bSav[17],Core4.bSav[17],$PRE.Core4.bSav[18],Core4.bSav[18],$PRE.Core4.bSav[19],Core4.bSav[19],$PRE.Core4.bSav[20],Core4.bSav[20],$PRE.Core4.bSav[21],Core4.bSav[21],$PRE.Core4.bSav[22],Core4.bSav[22],$PRE.Core4.bSav[23],Core4.bSav[23],$PRE.Core4.bSav[24],Core4.bSav[24],$PRE.Core4.bSav[25],Core4.bSav[25],$PRE.Core4.bSav[26],Core4.bSav[26],$PRE.Core4.bSav[27],Core4.bSav[27],$PRE.Core4.bSav[28],Core4.bSav[28],$PRE.Core4.bSav[29],Core4.bSav[29],$PRE.Core4.bSav[30],Core4.bSav[30],$PRE.Core4.bSav[31],Core4.bSav[31],$PRE.Core4.bSav[32],Core4.bSav[32],$PRE.Core4.bSav[33],Core4.bSav[33],$PRE.Core4.bSav[34],Core4.bSav[34],$PRE.Core4.bSav[35],Core4.bSav[35],$PRE.Core4.bSav[36],Core4.bSav[36],$PRE.Core4.bSav[37],Core4.bSav[37],$PRE.Core4.bSav[38],Core4.bSav[38],$PRE.Core4.bSav[39],Core4.bSav[39],$PRE.Core4.bSav[40],Core4.bSav[40],$PRE.Core4.bSav[41],Core4.bSav[41],$PRE.Core4.bSav[42],Core4.bSav[42],$PRE.Core4.bSav[43],Core4.bSav[43],$PRE.Core4.bSav[44],Core4.bSav[44],$PRE.Core4.bSav[45],Core4.bSav[45],$PRE.Core4.bSav[46],Core4.bSav[46],$PRE.Core4.bSav[47],Core4.bSav[47],$PRE.Core4.bSav[48],Core4.bSav[48],$PRE.Core4.bSav[49],Core4.bSav[49],$PRE.Core4.bSav[50],Core4.bSav[50],$PRE.Core4.bSav[51],Core4.bSav[51],$PRE.Core4.bSav[52],Core4.bSav[52],$PRE.Core4.bSav[53],Core4.bSav[53],$PRE.Core4.bSav[54],Core4.bSav[54],$PRE.Core4.bSav[55],Core4.bSav[55],$PRE.Core4.bSav[56],Core4.bSav[56],$PRE.Core4.bSav[57],Core4.bSav[57],$PRE.Core4.bSav[58],Core4.bSav[58],$PRE.Core4.bSav[59],Core4.bSav[59],$PRE.Core4.bSav[60],Core4.bSav[60],$PRE.Core4.bSav[61],Core4.bSav[61],$PRE.Core4.bSav[62],Core4.bSav[62],$PRE.Core4.bSav[63],Core4.bSav[63],$PRE.Core4.bSav[64],Core4.bSav[64],$PRE.Core4.bSav[65],Core4.bSav[65],$PRE.Core4.bSav[66],Core4.bSav[66],$PRE.Core4.bSav[67],Core4.bSav[67],$PRE.Core4.bSav[68],Core4.bSav[68],$PRE.Core4.bSav[69],Core4.bSav[69],$PRE.Core4.bSav[70],Core4.bSav[70],$PRE.Core4.bSav[71],Core4.bSav[71],$PRE.Core4.bSav[72],Core4.bSav[72],$PRE.Core4.bSav[73],Core4.bSav[73],$PRE.Core4.bSav[74],Core4.bSav[74],$PRE.Core4.bSav[75],Core4.bSav[75],$PRE.Core4.bSav[76],Core4.bSav[76],$PRE.Core4.bSav[77],Core4.bSav[77],$PRE.Core4.bSav[78],Core4.bSav[78],$PRE.Core4.bSav[79],Core4.bSav[79],$PRE.Core4.bSav[80],Core4.bSav[80],$PRE.Core4.bSav[81],Core4.bSav[81],$PRE.Core4.bSav[82],Core4.bSav[82],$PRE.Core4.bSav[83],Core4.bSav[83],$PRE.Core4.bSav[84],Core4.bSav[84],$PRE.Core4.bSav[85],Core4.bSav[85],$PRE.Core4.bSav[86],Core4.bSav[86],$PRE.Core4.bSav[87],Core4.bSav[87],$PRE.Core4.bSav[88],Core4.bSav[88],$PRE.Core4.bSav[89],Core4.bSav[89],$PRE.Core4.bSav[90],Core4.bSav[90],$PRE.Core4.bSav[91],Core4.bSav[91],$PRE.Core4.bSav[92],Core4.bSav[92],$PRE.Core4.bSav[93],Core4.bSav[93],$PRE.Core4.bSav[94],Core4.bSav[94],$PRE.Core4.bSav[95],Core4.bSav[95],$PRE.Core4.bSav[96],Core4.bSav[96],$PRE.Core4.bSav[97],Core4.bSav[97],$PRE.Core4.bSav[98],Core4.bSav[98],$PRE.Core4.bSav[99],Core4.bSav[99],$PRE.Core4.bSav[100],Core4.bSav[100],$PRE.Core4.aSav[2],Core4.aSav[2],$PRE.Core4.aSav[3],Core4.aSav[3],$PRE.Core4.aSav[4],Core4.aSav[4],$PRE.Core4.aSav[5],Core4.aSav[5],$PRE.Core4.aSav[6],Core4.aSav[6],$PRE.Core4.aSav[7],Core4.aSav[7],$PRE.Core4.aSav[8],Core4.aSav[8],$PRE.Core4.aSav[9],Core4.aSav[9],$PRE.Core4.aSav[10],Core4.aSav[10],$PRE.Core4.aSav[11],Core4.aSav[11],$PRE.Core4.aSav[12],Core4.aSav[12],$PRE.Core4.aSav[13],Core4.aSav[13],$PRE.Core4.aSav[14],Core4.aSav[14],$PRE.Core4.aSav[15],Core4.aSav[15],$PRE.Core4.aSav[16],Core4.aSav[16],$PRE.Core4.aSav[17],Core4.aSav[17],$PRE.Core4.aSav[18],Core4.aSav[18],$PRE.Core4.aSav[19],Core4.aSav[19],$PRE.Core4.aSav[20],Core4.aSav[20],$PRE.Core4.aSav[21],Core4.aSav[21],$PRE.Core4.aSav[22],Core4.aSav[22],$PRE.Core4.aSav[23],Core4.aSav[23],$PRE.Core4.aSav[24],Core4.aSav[24],$PRE.Core4.aSav[25],Core4.aSav[25],$PRE.Core4.aSav[26],Core4.aSav[26],$PRE.Core4.aSav[27],Core4.aSav[27],$PRE.Core4.aSav[28],Core4.aSav[28],$PRE.Core4.aSav[29],Core4.aSav[29],$PRE.Core4.aSav[30],Core4.aSav[30],$PRE.Core4.aSav[31],Core4.aSav[31],$PRE.Core4.aSav[32],Core4.aSav[32],$PRE.Core4.aSav[33],Core4.aSav[33],$PRE.Core4.aSav[34],Core4.aSav[34],$PRE.Core4.aSav[35],Core4.aSav[35],$PRE.Core4.aSav[36],Core4.aSav[36],$PRE.Core4.aSav[37],Core4.aSav[37],$PRE.Core4.aSav[38],Core4.aSav[38],$PRE.Core4.aSav[39],Core4.aSav[39],$PRE.Core4.aSav[40],Core4.aSav[40],$PRE.Core4.aSav[41],Core4.aSav[41],$PRE.Core4.aSav[42],Core4.aSav[42],$PRE.Core4.aSav[43],Core4.aSav[43],$PRE.Core4.aSav[44],Core4.aSav[44],$PRE.Core4.aSav[45],Core4.aSav[45],$PRE.Core4.aSav[46],Core4.aSav[46],$PRE.Core4.aSav[47],Core4.aSav[47],$PRE.Core4.aSav[48],Core4.aSav[48],$PRE.Core4.aSav[49],Core4.aSav[49],$PRE.Core4.aSav[50],Core4.aSav[50],$PRE.Core4.aSav[51],Core4.aSav[51],$PRE.Core4.aSav[52],Core4.aSav[52],$PRE.Core4.aSav[53],Core4.aSav[53],$PRE.Core4.aSav[54],Core4.aSav[54],$PRE.Core4.aSav[55],Core4.aSav[55],$PRE.Core4.aSav[56],Core4.aSav[56],$PRE.Core4.aSav[57],Core4.aSav[57],$PRE.Core4.aSav[58],Core4.aSav[58],$PRE.Core4.aSav[59],Core4.aSav[59],$PRE.Core4.aSav[60],Core4.aSav[60],$PRE.Core4.aSav[61],Core4.aSav[61],$PRE.Core4.aSav[62],Core4.aSav[62],$PRE.Core4.aSav[63],Core4.aSav[63],$PRE.Core4.aSav[64],Core4.aSav[64],$PRE.Core4.aSav[65],Core4.aSav[65],$PRE.Core4.aSav[66],Core4.aSav[66],$PRE.Core4.aSav[67],Core4.aSav[67],$PRE.Core4.aSav[68],Core4.aSav[68],$PRE.Core4.aSav[69],Core4.aSav[69],$PRE.Core4.aSav[70],Core4.aSav[70],$PRE.Core4.aSav[71],Core4.aSav[71],$PRE.Core4.aSav[72],Core4.aSav[72],$PRE.Core4.aSav[73],Core4.aSav[73],$PRE.Core4.aSav[74],Core4.aSav[74],$PRE.Core4.aSav[75],Core4.aSav[75],$PRE.Core4.aSav[76],Core4.aSav[76],$PRE.Core4.aSav[77],Core4.aSav[77],$PRE.Core4.aSav[78],Core4.aSav[78],$PRE.Core4.aSav[79],Core4.aSav[79],$PRE.Core4.aSav[80],Core4.aSav[80],$PRE.Core4.aSav[81],Core4.aSav[81],$PRE.Core4.aSav[82],Core4.aSav[82],$PRE.Core4.aSav[83],Core4.aSav[83],$PRE.Core4.aSav[84],Core4.aSav[84],$PRE.Core4.aSav[85],Core4.aSav[85],$PRE.Core4.aSav[86],Core4.aSav[86],$PRE.Core4.aSav[87],Core4.aSav[87],$PRE.Core4.aSav[88],Core4.aSav[88],$PRE.Core4.aSav[89],Core4.aSav[89],$PRE.Core4.aSav[90],Core4.aSav[90],$PRE.Core4.aSav[91],Core4.aSav[91],$PRE.Core4.aSav[92],Core4.aSav[92],$PRE.Core4.aSav[93],Core4.aSav[93],$PRE.Core4.aSav[94],Core4.aSav[94],$PRE.Core4.aSav[95],Core4.aSav[95],$PRE.Core4.aSav[96],Core4.aSav[96],$PRE.Core4.aSav[97],Core4.aSav[97],$PRE.Core4.aSav[98],Core4.aSav[98],$PRE.Core4.aSav[99],Core4.aSav[99],$PRE.Core4.aSav[100],Core4.aSav[100],Core1.asc,PM.asc,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core.asc,Core2.asc,Core3.asc,$PRE.Core4.hmax,Core4.hmax,$PRE.Core4.asc,Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.del,$PRE.Core4.init,Core4.init,Core4.evInit,Core4.evAsc,Core4.evDesc,$PRE.Core4.aSav[1],Core4.aSav[1],$PRE.Core4.bSav[1],Core4.bSav[1],$PRE.Core4.init2,Core4.init2,Core4.init3) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004222/0.686, allocations: 1.678 MB / 0.6165 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/0.6881, allocations: 414.9 kB / 0.6169 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04177/0.7298, allocations: 17.87 MB / 0.6343 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.682e-05/0.7299, allocations: 36 kB / 0.6344 GB, free: 3.852 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.433e-05/0.73, allocations: 11.92 kB / 0.6344 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.027e-05/0.7301, allocations: 19.94 kB / 0.6344 GB, free: 3.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06874/0.7988, allocations: 23.9 MB / 0.6577 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.7989, allocations: 4 kB / 0.6577 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.801, allocations: 325.4 kB / 0.658 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.212e-05/0.801, allocations: 12 kB / 0.6581 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002241/0.8033, allocations: 243.5 kB / 0.6583 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.474e-05/0.8033, allocations: 23.06 kB / 0.6583 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8033, allocations: 0 / 0.6583 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05877/0.8621, allocations: 21.95 MB / 0.6797 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004534/0.8667, allocations: 1.272 MB / 0.681 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003718/0.8705, allocations: 1.139 MB / 0.6821 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007955/0.8784, allocations: 1.381 MB / 0.6834 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/0.8792, allocations: 250 kB / 0.6837 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001757/0.881, allocations: 367.5 kB / 0.684 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.2397/1.121, allocations: 4.186 MB / 0.6881 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.785e-06/1.121, allocations: 0 / 0.6881 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007557/1.128, allocations: 1.016 MB / 0.6891 GB, free: 161.5 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004151/1.132, allocations: 1.368 MB / 0.6905 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01913/1.152, allocations: 6.766 MB / 0.6971 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.152, allocations: 0 / 0.6971 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01382/1.166, allocations: 4.868 MB / 0.7018 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/1.171, allocations: 353.2 kB / 0.7022 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/1.197, allocations: 12.77 MB / 0.7146 GB, free: 154 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/1.2, allocations: 2.306 MB / 0.7169 GB, free: 153 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.202, allocations: 254.7 kB / 0.7171 GB, free: 153 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/1.202, allocations: 0 / 0.7171 GB, free: 153 MB / 0.4948 GB Notification: Performance of Templates: time 0.1091/1.311, allocations: 74.95 MB / 0.7903 GB, free: 86.86 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches