Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001377/0.001377, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001426/0.001426, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001934/0.001934, allocations: 63.91 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2496, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003521/0.2531, allocations: 2.075 MB / 434 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2544, allocations: 0.6661 MB / 434.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.2545, allocations: 3.938 kB / 434.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.935e-05/0.2545, allocations: 19.84 kB / 434.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2547, allocations: 47.56 kB / 434.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2551, allocations: 110.5 kB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.2554, allocations: 187.2 kB / 435 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2555, allocations: 37.72 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2557, allocations: 83.7 kB / 435.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2558, allocations: 83.61 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.2559, allocations: 16 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.2559, allocations: 24 kB / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.256, allocations: 35.84 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.256, allocations: 79.59 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2563, allocations: 183.2 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2563, allocations: 8 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2563, allocations: 3.938 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2563, allocations: 0 / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007479/0.2571, allocations: 397.6 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2571, allocations: 12.03 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.2572, allocations: 38.75 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.2575, allocations: 52.8 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.2578, allocations: 162.3 kB / 436.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2578, allocations: 8.375 kB / 436.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2579, allocations: 8.375 kB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.2582, allocations: 164.1 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2582, allocations: 0 / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2582, allocations: 0 / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2582, allocations: 4 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.2585, allocations: 99.94 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.2594, allocations: 478.4 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.2597, allocations: 102.5 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.2599, allocations: 60.83 kB / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.26, allocations: 0 / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.26, allocations: 42.5 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.26, allocations: 0 / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004894/0.2605, allocations: 153.6 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.2606, allocations: 102.8 kB / 437.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2607, allocations: 170.1 kB / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2607, allocations: 29.7 kB / 437.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.2608, allocations: 115.9 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2609, allocations: 31.73 kB / 437.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.2609, allocations: 33.7 kB / 437.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2611, allocations: 318.8 kB / 438.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2612, allocations: 51.97 kB / 438.1 MB, free: 456 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2614, allocations: 72.27 kB / 438.2 MB, free: 368 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.2616, allocations: 102.5 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2616, allocations: 0 / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000349/0.262, allocations: 145.5 kB / 438.5 MB, free: 104 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.262, allocations: 8 kB / 438.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.262, allocations: 3.984 kB / 438.5 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.262, allocations: 4.031 kB / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.2626, allocations: 79.92 kB / 438.6 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.2642, allocations: 1.396 MB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2643, allocations: 28.05 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.2644, allocations: 11.92 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001223/0.2645, allocations: 121.8 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.2645, allocations: 11.91 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.265, allocations: 163.1 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.265, allocations: 3.938 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.265, allocations: 0 / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.265, allocations: 0 / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.2658, allocations: 439.1 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2658, allocations: 0 / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2659, allocations: 19.98 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.2662, allocations: 32.83 kB / 440.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2662, allocations: 0 / 440.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2673, allocations: 1.314 MB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2673, allocations: 0 / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.268, allocations: 293.6 kB / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.268, allocations: 15.97 kB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.268, allocations: 3.938 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2682, allocations: 11.98 kB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.2682, allocations: 12.05 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2682, allocations: 8 kB / 442.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.2683, allocations: 119.2 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2683, allocations: 0 / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.2686, allocations: 43.89 kB / 442.6 MB, free: 11.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009192/0.2695, allocations: 0.8312 MB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.2702, allocations: 135.9 kB / 443.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2702, allocations: 0 / 443.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.2706, allocations: 166.7 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2708, allocations: 12 kB / 443.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.2742, allocations: 2.109 MB / 445.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.2745, allocations: 0.7196 MB / 446.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.2746, allocations: 12.48 kB / 446.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.2747, allocations: 39.42 kB / 446.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2747, allocations: 3.938 kB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3051, allocations: 3.425 MB / 450 MB, free: 4.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.09, allocations: 11.88 kB / 450 MB, free: 4.156 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.396435786038637] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inductance1.i', 'SaturatingInductance1.Psi'] 12.18752607703209 12.212679815 11.951534726 Calling exit ...