Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0003568/0.0003568, allocations: 0 / 0, free: 0 / 0 " [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.0004745/0.0004745, allocations: 0 / 0, free: 0 / 0 " [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 0.4412/0.4412, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.0677/0.0677, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: simulate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,startTime=0,stopTime=1,tolerance=1e-05,numberOfIntervals=1000,outputFormat="mat",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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets",simflags="-alarm=480 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,startTime=0,stopTime=1,tolerance=1e-05,numberOfIntervals=1000,outputFormat="mat",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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets",simflags="-alarm=480 -emit_protected -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 6.41e-07/6.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.36e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.0118/0.01183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01143/0.02326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.02435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.01085/0.0352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.003569/0.03876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.04188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005373/0.04726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006249/0.04788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.05104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.00349/0.05453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000912/0.05544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.05758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.004621/0.0622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.006574/0.06878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02074/0.08952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.003271/0.09279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.128e-06/0.0928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0001144/0.09291, allocations: 0 / 0, free: 0 / 0 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.03792/0.1308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0007433/0.1316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009191/0.1408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.02283/0.1636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001334/0.1649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/0.1685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.05362/0.2221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.2222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001706/0.2239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.2241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04965/0.2737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06223/0.3359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.03181/0.3678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.02923/0.397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.3973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04333/0.4406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=319): time 0.0006279/0.4413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=354): time 0.278/0.7193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.001166/0.7204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02606/0.7465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.002666/0.7492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.006315/0.7555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.003069/0.7585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.005567/0.7641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002182/0.7643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.00931/0.7736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/0.7858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.02053/0.8063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001871/0.8065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=597) (initialization): time 0.03443/0.8409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.8412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/0.8414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.8417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009261/0.851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.8532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006249/0.8594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/0.861, allocations: 0 / 0, free: 0 / 0 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.01272/0.8737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007108/0.8808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0916/0.9724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001424/0.9726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.963e-05/0.9726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.519e-05/0.9727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1442/1.117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.237e-05/1.117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00389/1.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.772e-05/1.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003901/1.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/1.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1286/1.254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0138/1.267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008367/1.276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/1.289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003476/1.293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003542/1.296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.02073/1.317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0005355/1.318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01259/1.33, allocations: 0 / 0, free: 0 / 0 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.009242/1.339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.04346/1.383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.488e-05/1.383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.03116/1.414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01668/1.431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07104/1.502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009474/1.511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.005145/1.516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009414/1.526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.004642/1.53, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0301/1.56, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1138] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/HysteresisAndMagnets.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0590529530018102]