Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.00143/0.00143, allocations: 118.7 kB / 18.49 MB, free: 4.559 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.002209/0.002209, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.525/1.525, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 53.38 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004321/0.1083, allocations: 2.861 MB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1105, allocations: 1.3 MB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1107, allocations: 4 kB / 431.2 MB, free: 436 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.1109, allocations: 71.36 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.1115, allocations: 230.7 kB / 431.5 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1118, allocations: 127.8 kB / 431.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1936/0.3053, allocations: 455.6 kB / 432.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3055, allocations: 69.22 kB / 432.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.3059, allocations: 194.6 kB / 432.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.3062, allocations: 223.4 kB / 432.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.3062, allocations: 41.69 kB / 432.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.3066, allocations: 165.4 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.3067, allocations: 93.27 kB / 432.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3068, allocations: 184.8 kB / 433 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.3073, allocations: 0.5131 MB / 433.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3073, allocations: 0 / 433.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3073, allocations: 0 / 433.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3074, allocations: 0.875 kB / 433.6 MB, free: 7.52 MB / 350.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.00148/0.3088, allocations: 0.7201 MB / 434.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3089, allocations: 12.41 kB / 434.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/0.3089, allocations: 4.375 kB / 434.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.3089, allocations: 66.02 kB / 434.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3091, allocations: 43.5 kB / 434.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.3095, allocations: 333.6 kB / 434.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.3096, allocations: 52.19 kB / 434.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3098, allocations: 43.77 kB / 434.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.3104, allocations: 322.7 kB / 435.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3104, allocations: 0 / 435.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3104, allocations: 12.59 kB / 435.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3104, allocations: 5.469 kB / 435.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.3112, allocations: 305.3 kB / 435.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.3128, allocations: 1.163 MB / 436.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.3134, allocations: 279.4 kB / 436.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.3137, allocations: 157 kB / 437 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.3138, allocations: 6.375 kB / 437 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3138, allocations: 37.05 kB / 437.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.3138, allocations: 0 / 437.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009526/0.3233, allocations: 2.412 MB / 439.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3233, allocations: 86.19 kB / 439.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.3237, allocations: 293.8 kB / 439.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3237, allocations: 32.14 kB / 439.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.3238, allocations: 173 kB / 440.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3239, allocations: 156.5 kB / 440.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.3241, allocations: 82.48 kB / 440.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.3241, allocations: 343.5 kB / 440.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.3246, allocations: 166 kB / 440.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.325, allocations: 226.2 kB / 441 MB, free: 4.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.3257, allocations: 398.3 kB / 441.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3257, allocations: 5.75 kB / 441.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001138/0.3269, allocations: 491.8 kB / 441.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3269, allocations: 6.344 kB / 441.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3269, allocations: 2.281 kB / 441.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3269, allocations: 7.438 kB / 441.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.3276, allocations: 118.5 kB / 442 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.3276, allocations: 5.875 kB / 442 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.328, allocations: 31.36 kB / 442.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.328, allocations: 15.56 kB / 442.1 MB, free: 3.711 MB / 350.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.0001689/0.3282, allocations: 162.6 kB / 442.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3283, allocations: 32.33 kB / 442.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.3302, allocations: 0.6459 MB / 442.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.3302, allocations: 7.125 kB / 442.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3303, allocations: 1.219 kB / 442.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3303, allocations: 2.812 kB / 442.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.3336, allocations: 1.272 MB / 444.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3336, allocations: 2.156 kB / 444.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.334, allocations: 91.88 kB / 444.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.3356, allocations: 276.8 kB / 444.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.3356, allocations: 17.88 kB / 444.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.3393, allocations: 2.441 MB / 447 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3393, allocations: 0 / 447 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.3416, allocations: 1.009 MB / 448 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.3418, allocations: 148 kB / 448.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.3418, allocations: 15.38 kB / 448.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.3423, allocations: 23.72 kB / 448.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3424, allocations: 37.64 kB / 448.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.3425, allocations: 15.41 kB / 448.3 MB, free: 0 / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.3428, allocations: 217.5 kB / 448.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 1.031 kB / 448.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006108/0.3434, allocations: 118.4 kB / 448.6 MB, free: 15.85 MB / 366.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.003084/0.3465, allocations: 1.588 MB / 450.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3476, allocations: 408.7 kB / 450.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3476, allocations: 384 / 450.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.3484, allocations: 374.5 kB / 450.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.349, allocations: 33.72 kB / 451 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/0.3554, allocations: 3.869 MB / 454.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.3559, allocations: 0.7945 MB / 455.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.3561, allocations: 44.16 kB / 455.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.3564, allocations: 116.9 kB / 455.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3564, allocations: 0 / 455.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.3955, allocations: 9.8 MB / 465.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.99, allocations: 13.03 kB / 465.6 MB, free: 7.215 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.59291280398611] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding.i'] 13.142590983014088 13.157031924 12.84673129 Calling exit ...