Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 114.7 kB / 19.16 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 211.8 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 207.6 MB / 232.5 MB, free: 3.926 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 47.94 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.102, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005206/0.1072, allocations: 2.778 MB / 394.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1095, allocations: 1.285 MB / 396.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.1098, allocations: 8 kB / 396.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.1101, allocations: 83.28 kB / 396.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.1108, allocations: 214.8 kB / 396.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1112, allocations: 123.8 kB / 396.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.1118, allocations: 470.9 kB / 397.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.112, allocations: 60.58 kB / 397.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.1123, allocations: 183.4 kB / 397.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.1127, allocations: 223.1 kB / 397.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.1127, allocations: 47.98 kB / 397.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.1131, allocations: 167.8 kB / 397.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.1132, allocations: 91.7 kB / 397.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.1134, allocations: 183.2 kB / 398 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.114, allocations: 0.5059 MB / 398.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.114, allocations: 3.938 kB / 398.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.114, allocations: 0 / 398.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.114, allocations: 0 / 398.5 MB, free: 2.285 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001702/0.1157, allocations: 0.7168 MB / 399.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1158, allocations: 8.031 kB / 399.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.47e-05/0.1158, allocations: 8.75 kB / 399.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.252e-05/0.1159, allocations: 58.73 kB / 399.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.116, allocations: 36.75 kB / 399.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.1165, allocations: 337.1 kB / 399.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.1166, allocations: 50.81 kB / 399.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.1167, allocations: 40.08 kB / 399.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.1174, allocations: 324.4 kB / 400.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1174, allocations: 0 / 400.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.1175, allocations: 12 kB / 400.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1175, allocations: 8 kB / 400.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007183/0.1182, allocations: 302 kB / 400.4 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.1206, allocations: 1.164 MB / 401.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.1215, allocations: 277 kB / 401.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.1219, allocations: 161.5 kB / 402 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.122, allocations: 4 kB / 402 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.122, allocations: 42.44 kB / 402 MB, free: 14.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.122, allocations: 0 / 402 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.01313/0.1352, allocations: 2.41 MB / 404.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1353, allocations: 81.11 kB / 404.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.136, allocations: 293 kB / 404.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.1361, allocations: 29.7 kB / 404.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1363, allocations: 176.6 kB / 405 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.1365, allocations: 150.7 kB / 405.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.1368, allocations: 82.06 kB / 405.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.137, allocations: 342.8 kB / 405.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.1376, allocations: 160.8 kB / 405.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.1383, allocations: 230.6 kB / 405.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.1395, allocations: 407.6 kB / 406.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1396, allocations: 0 / 406.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001644/0.1412, allocations: 488.6 kB / 406.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.1412, allocations: 8.188 kB / 406.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.1412, allocations: 7.984 kB / 406.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.1413, allocations: 4 kB / 406.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.1421, allocations: 111.9 kB / 406.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.1421, allocations: 4 kB / 406.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.1427, allocations: 47.84 kB / 407 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.1427, allocations: 12 kB / 407 MB, free: 9.375 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.143, allocations: 161.6 kB / 407.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.1432, allocations: 31.81 kB / 407.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.1459, allocations: 0.6408 MB / 407.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.1459, allocations: 8 kB / 407.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.146, allocations: 0 / 407.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.146, allocations: 0 / 407.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.1505, allocations: 1.279 MB / 409.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1505, allocations: 0 / 409.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.1512, allocations: 95.88 kB / 409.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.1533, allocations: 264.6 kB / 409.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.1534, allocations: 15.92 kB / 409.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/0.1593, allocations: 2.443 MB / 411.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1593, allocations: 4 kB / 411.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.1627, allocations: 1.012 MB / 413 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.163, allocations: 156.8 kB / 413.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.1631, allocations: 8 kB / 413.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.1638, allocations: 27.97 kB / 413.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.1639, allocations: 32.39 kB / 413.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.164, allocations: 16.19 kB / 413.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003589/0.1643, allocations: 212.5 kB / 413.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1643, allocations: 3.938 kB / 413.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008917/0.1652, allocations: 123.9 kB / 413.5 MB, free: 2.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004061/0.1693, allocations: 1.575 MB / 415.1 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.1708, allocations: 418.3 kB / 415.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1708, allocations: 8.125 kB / 415.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.1717, allocations: 361 kB / 415.9 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.1725, allocations: 36.42 kB / 415.9 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/0.1816, allocations: 3.869 MB / 419.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.1822, allocations: 0.7891 MB / 420.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.1825, allocations: 38.97 kB / 420.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.1828, allocations: 119.4 kB / 420.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1828, allocations: 0 / 420.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.2248, allocations: 9.766 MB / 430.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.38, allocations: 16.03 kB / 430.5 MB, free: 1.375 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.864250186947174] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding.i'] 12.531866713019554 12.554173874 12.436037574 Calling exit ...