Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.313, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.007046/0.3201, allocations: 4.973 MB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005962/0.326, allocations: 3.37 MB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.3266, allocations: 15.88 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.3302, allocations: 2.785 MB / 0.5724 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.3318, allocations: 0.5746 MB / 0.573 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3335, allocations: 0.6622 MB / 0.5736 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.3371, allocations: 2.786 MB / 0.5763 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.3374, allocations: 141.8 kB / 0.5765 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.3385, allocations: 0.6991 MB / 0.5771 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.3403, allocations: 1.406 MB / 0.5785 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.3408, allocations: 256 kB / 0.5788 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.3418, allocations: 475.8 kB / 0.5792 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.3438, allocations: 2.21 MB / 0.5814 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002655/0.3465, allocations: 2.427 MB / 0.5837 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008187/0.3546, allocations: 6.907 MB / 0.5905 GB, free: 6.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3546, allocations: 0 / 0.5905 GB, free: 6.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3546, allocations: 0 / 0.5905 GB, free: 6.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001363/0.3548, allocations: 4 kB / 0.5905 GB, free: 6.52 MB / 430.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.01291/0.3677, allocations: 5.339 MB / 0.5957 GB, free: 1.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3677, allocations: 8.031 kB / 0.5957 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005033/0.3682, allocations: 243.9 kB / 0.5959 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3696, allocations: 498.1 kB / 0.5964 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005493/0.3751, allocations: 2.91 MB / 0.5993 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005688/0.3757, allocations: 0.628 MB / 0.5999 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.3768, allocations: 316.1 kB / 0.6002 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.3934, allocations: 5.985 MB / 0.606 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.3935, allocations: 11.89 kB / 0.606 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.3939, allocations: 75.92 kB / 0.6061 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.3939, allocations: 36 kB / 0.6061 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.412, allocations: 5.446 MB / 0.6115 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.431, allocations: 9.071 MB / 0.6203 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.4442, allocations: 3.86 MB / 0.6241 GB, free: 3.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01231/0.4565, allocations: 3.487 MB / 0.6275 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.4567, allocations: 38.16 kB / 0.6275 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01753/0.4742, allocations: 6.09 MB / 0.6335 GB, free: 9.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 9.137e-06/0.4742, allocations: 112 / 0.6335 GB, free: 9.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=354): time 0.1147/0.5889, allocations: 37.7 MB / 0.6703 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004885/0.5894, allocations: 473.6 kB / 0.6707 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009557/0.599, allocations: 5.89 MB / 0.6765 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007001/0.5997, allocations: 249.6 kB / 0.6767 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.6014, allocations: 1.464 MB / 0.6782 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/0.6027, allocations: 1.027 MB / 0.6792 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.6039, allocations: 0.8167 MB / 0.68 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.604, allocations: 309.1 kB / 0.6803 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/0.607, allocations: 1.477 MB / 0.6817 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/0.6112, allocations: 3.048 MB / 0.6847 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/0.6192, allocations: 4.667 MB / 0.6892 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.036e-05/0.6192, allocations: 23.88 kB / 0.6893 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01099/0.6302, allocations: 5.045 MB / 0.6942 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.6303, allocations: 28.12 kB / 0.6942 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.344e-05/0.6304, allocations: 52 kB / 0.6943 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.6305, allocations: 76 kB / 0.6943 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/0.6347, allocations: 0.8498 MB / 0.6952 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000659/0.6354, allocations: 0.734 MB / 0.6959 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/0.6389, allocations: 211.9 kB / 0.6961 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006063/0.6395, allocations: 223.9 kB / 0.6963 GB, free: 7.836 MB / 0.5294 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],Core1.asc,PM.asc,Core.asc,Core2.asc,Core3.asc,Core4.hmax,$PRE.Core4.hmax,Core4.asc,$PRE.Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.del,Core4.init,$PRE.Core4.init,Core4.evInit,Core4.evAsc,Core4.evDesc,Core4.aSav[1],$PRE.Core4.aSav[1],Core4.bSav[1],$PRE.Core4.bSav[1],Core4.init2,$PRE.Core4.init2,Core4.init3,$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.004208/0.6437, allocations: 1.677 MB / 0.6979 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/0.6454, allocations: 441.2 kB / 0.6984 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04201/0.6874, allocations: 16.37 MB / 0.7143 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/0.6875, allocations: 36 kB / 0.7144 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.6875, allocations: 11.94 kB / 0.7144 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.773e-05/0.6876, allocations: 19.92 kB / 0.7144 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2924/0.98, allocations: 21.74 MB / 0.7356 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.98, allocations: 1.438 kB / 0.7356 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.9821, allocations: 313.8 kB / 0.7359 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.43e-05/0.9821, allocations: 13.91 kB / 0.7359 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001274/0.9834, allocations: 242.7 kB / 0.7362 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.562e-05/0.9834, allocations: 21.52 kB / 0.7362 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9834, allocations: 2.406 kB / 0.7362 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04466/1.028, allocations: 19.78 MB / 0.7555 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003533/1.032, allocations: 1.217 MB / 0.7567 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002479/1.034, allocations: 1.145 MB / 0.7578 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006548/1.041, allocations: 1.027 MB / 0.7588 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006095/1.041, allocations: 261.9 kB / 0.7591 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001101/1.042, allocations: 375.5 kB / 0.7594 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004294/1.047, allocations: 4.194 MB / 0.7635 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.047, allocations: 0 / 0.7635 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004245/1.051, allocations: 1.013 MB / 0.7645 GB, free: 139.4 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,PM.B,Core1.B,Core4.x,Core4.v,Core4.beta,Core4.B,Core3.B,Core2.B,Core.B) * Number of discrete variables: 229 (PM.asc,Core1.asc,Core4.init3,Core4.evDesc,Core4.evAsc,Core4.del,Core4.evInit,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core4.hmaxI,Core4.bI,Core4.bSavI,Core4.aSavI,Core4.init2,Core4.bSav[100],Core4.bSav[99],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],Core4.bSav[1],Core4.aSav[100],Core4.aSav[99],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.aSav[1],Core4.init,Core4.delDesc,Core4.delAsc,Core4.asc2,Core4.asc,Core4.hmax,Core3.asc,Core2.asc,Core.asc) * 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.04589/1.097, allocations: 21.61 MB / 0.7856 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.112, allocations: 5.906 MB / 0.7914 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.112, allocations: 4 kB / 0.7914 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01227/1.125, allocations: 3.645 MB / 0.795 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/1.128, allocations: 357.6 kB / 0.7953 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07003/1.198, allocations: 40.48 MB / 0.8348 GB, free: 65.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/1.2, allocations: 2.314 MB / 0.8371 GB, free: 63.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001745/1.202, allocations: 0.549 MB / 0.8376 GB, free: 62.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/1.204, allocations: 1.565 MB / 0.8392 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/1.204, allocations: 4 kB / 0.8392 GB, free: 61.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1522/1.356, allocations: 95.5 MB / 0.9324 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.94/23.29, allocations: 12 kB / 0.9324 GB, free: 13.84 MB / 0.6075 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.333951401989907] Failed to read output from testmodel.py, exit status != 0: ['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'] 23.574445804115385 23.603021509 23.243183798 Calling exit ...