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: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001565, allocations: 110 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.577/1.577, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 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.001521/0.001521, allocations: 77.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1259, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets): time 0.00719/0.1331, allocations: 4.832 MB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.1387, allocations: 3.099 MB / 0.4951 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006769/0.1394, allocations: 11.94 kB / 0.4951 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.1432, allocations: 2.787 MB / 0.4979 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.1451, allocations: 0.5124 MB / 0.4984 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1469, allocations: 0.6159 MB / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003946/0.1509, allocations: 2.778 MB / 0.5017 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005747/0.1514, allocations: 201.2 kB / 0.5019 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.153, allocations: 0.6758 MB / 0.5025 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.155, allocations: 1.437 MB / 0.5039 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008896/0.1559, allocations: 252 kB / 0.5042 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.1574, allocations: 443.8 kB / 0.5046 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.1597, allocations: 2.22 MB / 0.5068 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003803/0.1635, allocations: 2.489 MB / 0.5092 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.1728, allocations: 6.88 MB / 0.5159 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1729, allocations: 0 / 0.5159 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1729, allocations: 0 / 0.5159 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001607/0.1731, allocations: 0 / 0.5159 GB, free: 14.95 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.0154/0.1885, allocations: 5.236 MB / 0.521 GB, free: 9.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1885, allocations: 11.89 kB / 0.521 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/0.1898, allocations: 243.9 kB / 0.5213 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.1918, allocations: 466.1 kB / 0.5217 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006771/0.1986, allocations: 2.967 MB / 0.5246 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/0.1992, allocations: 377.8 kB / 0.525 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.2009, allocations: 311.8 kB / 0.5253 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2689/0.4698, allocations: 5.986 MB / 0.5311 GB, free: 34.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/0.47, allocations: 6.781 kB / 0.5311 GB, free: 34.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004715/0.4704, allocations: 76.88 kB / 0.5312 GB, free: 34.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.4705, allocations: 38.62 kB / 0.5312 GB, free: 34.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.4917, allocations: 5.453 MB / 0.5366 GB, free: 34.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.5163, allocations: 9.1 MB / 0.5455 GB, free: 29.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02048/0.5368, allocations: 4.145 MB / 0.5495 GB, free: 27.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01765/0.5545, allocations: 3.784 MB / 0.5532 GB, free: 25.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.5548, allocations: 37.59 kB / 0.5532 GB, free: 25.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01842/0.5732, allocations: 6.094 MB / 0.5592 GB, free: 21.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=319): time 1.012e-05/0.5733, allocations: 0 / 0.5592 GB, free: 21.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=354): time 0.1127/0.686, allocations: 38.01 MB / 0.5963 GB, free: 2.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005026/0.6865, allocations: 466.5 kB / 0.5967 GB, free: 2.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009622/0.6962, allocations: 5.868 MB / 0.6025 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007541/0.697, allocations: 251.6 kB / 0.6027 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.6988, allocations: 1.451 MB / 0.6041 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/0.7002, allocations: 1.035 MB / 0.6051 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.7019, allocations: 0.8167 MB / 0.6059 GB, free: 8.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.702, allocations: 309.1 kB / 0.6062 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/0.705, allocations: 1.469 MB / 0.6077 GB, free: 7.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004353/0.7094, allocations: 3.045 MB / 0.6106 GB, free: 3.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00725/0.7167, allocations: 4.666 MB / 0.6152 GB, free: 14.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/0.7168, allocations: 12 kB / 0.6152 GB, free: 14.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01163/0.7284, allocations: 5.033 MB / 0.6201 GB, free: 9.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.7286, allocations: 31.94 kB / 0.6202 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.7287, allocations: 55.98 kB / 0.6202 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.7289, allocations: 76 kB / 0.6203 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/0.7328, allocations: 0.8426 MB / 0.6211 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006077/0.7335, allocations: 0.7262 MB / 0.6218 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/0.7367, allocations: 214 kB / 0.622 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006326/0.7374, allocations: 225.4 kB / 0.6222 GB, free: 6.832 MB / 462.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.00441/0.7418, allocations: 1.681 MB / 0.6239 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/0.7438, allocations: 433.2 kB / 0.6243 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04373/0.7876, allocations: 16.51 MB / 0.6404 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.781e-05/0.7877, allocations: 37.42 kB / 0.6405 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/0.7877, allocations: 6.531 kB / 0.6405 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.212e-05/0.7878, allocations: 23.92 kB / 0.6405 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06633/0.8541, allocations: 21.86 MB / 0.6618 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/0.8542, allocations: 4.562 kB / 0.6618 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.8562, allocations: 311.5 kB / 0.6621 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.532e-05/0.8562, allocations: 16 kB / 0.6622 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001592/0.8578, allocations: 243.5 kB / 0.6624 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.688e-05/0.8579, allocations: 16.88 kB / 0.6624 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8579, allocations: 4 kB / 0.6624 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05497/0.9129, allocations: 19.95 MB / 0.6819 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005254/0.9182, allocations: 1.282 MB / 0.6831 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004236/0.9224, allocations: 1.143 MB / 0.6842 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008174/0.9306, allocations: 1.03 MB / 0.6853 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/0.9317, allocations: 262.1 kB / 0.6855 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002099/0.9339, allocations: 360.4 kB / 0.6858 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008503/0.9424, allocations: 4.178 MB / 0.6899 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9424, allocations: 0 / 0.6899 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006923/0.9494, allocations: 1.022 MB / 0.6909 GB, free: 384 kB / 0.5137 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.0636/1.013, allocations: 21.77 MB / 0.7122 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02162/1.035, allocations: 6.076 MB / 0.7181 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.035, allocations: 0.5 kB / 0.7181 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01505/1.05, allocations: 4.194 MB / 0.7222 GB, free: 356 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/1.055, allocations: 358.5 kB / 0.7226 GB, free: 0 / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3392/1.394, allocations: 40.35 MB / 0.762 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/1.396, allocations: 2.305 MB / 0.7642 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00251/1.399, allocations: 0.5421 MB / 0.7647 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/1.401, allocations: 1.533 MB / 0.7662 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.533e-06/1.401, allocations: 3.156 kB / 0.7662 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1546/1.556, allocations: 91.68 MB / 0.8558 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.64/23.2, allocations: 27 kB / 0.8558 GB, free: 118.2 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.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_3_2_3_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/HysteresisAndMagnets/HysteresisAndMagnets.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches