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.001291/0.001291, allocations: 106.5 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.001526/0.001526, allocations: 213.2 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.002837/0.002837, allocations: 64.77 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2661, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003331/0.2694, allocations: 2.084 MB / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2706, allocations: 0.6777 MB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.2707, allocations: 0 / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.717e-05/0.2708, allocations: 19.8 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.2709, allocations: 43.62 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.2713, allocations: 99.75 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2715, allocations: 187.3 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2717, allocations: 37.72 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.2719, allocations: 87.64 kB / 435.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.272, allocations: 83.69 kB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.272, allocations: 12 kB / 435.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.2721, allocations: 23.98 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.2721, allocations: 39.78 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.2722, allocations: 75.66 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.2725, allocations: 188.1 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2725, allocations: 0 / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2725, allocations: 0 / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2725, allocations: 0 / 435.6 MB, free: 3.227 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.0007831/0.2733, allocations: 405.6 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2733, allocations: 8.031 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.2734, allocations: 42.73 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.2737, allocations: 56.81 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.274, allocations: 162.2 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.274, allocations: 8.375 kB / 436.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.2741, allocations: 12.38 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.2744, allocations: 153 kB / 436.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2744, allocations: 7.984 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2744, allocations: 7.938 kB / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2744, allocations: 0 / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2747, allocations: 91.94 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.2756, allocations: 486.4 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.2759, allocations: 98.53 kB / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.2761, allocations: 68.95 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2761, allocations: 4 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.2761, allocations: 38.44 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2761, allocations: 0 / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004663/0.2766, allocations: 141.6 kB / 437.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.2767, allocations: 102.8 kB / 437.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2768, allocations: 162.2 kB / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2768, allocations: 25.7 kB / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.2769, allocations: 127.8 kB / 437.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.277, allocations: 31.75 kB / 437.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.277, allocations: 33.69 kB / 437.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2772, allocations: 322.8 kB / 438.1 MB, free: 480 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2773, allocations: 35.98 kB / 438.1 MB, free: 444 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.2774, allocations: 80.2 kB / 438.2 MB, free: 348 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.2777, allocations: 102.5 kB / 438.3 MB, free: 236 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2777, allocations: 0 / 438.3 MB, free: 236 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003322/0.278, allocations: 149.5 kB / 438.5 MB, free: 80 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.278, allocations: 4 kB / 438.5 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.278, allocations: 0 / 438.5 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2781, allocations: 4 kB / 438.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.2786, allocations: 87.98 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.2802, allocations: 1.397 MB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.2804, allocations: 23.89 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2804, allocations: 8 kB / 440 MB, free: 14.43 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.0001272/0.2805, allocations: 121.9 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.2805, allocations: 19.84 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.281, allocations: 155.2 kB / 440.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.281, allocations: 7.938 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.91e-07/0.281, allocations: 4 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.281, allocations: 4 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007588/0.2818, allocations: 431.1 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2818, allocations: 32 / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2819, allocations: 31.92 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.2821, allocations: 28.83 kB / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2822, allocations: 4 kB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.2833, allocations: 1.295 MB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2833, allocations: 4.031 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.2839, allocations: 297.2 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.284, allocations: 11.98 kB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.284, allocations: 7.938 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.2842, allocations: 11.98 kB / 442.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.2842, allocations: 15.92 kB / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2842, allocations: 0 / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.2843, allocations: 120.1 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2843, allocations: 4.062 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.2846, allocations: 43.89 kB / 442.6 MB, free: 11.63 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.0009147/0.2855, allocations: 0.8311 MB / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006744/0.2862, allocations: 136 kB / 443.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2862, allocations: 0 / 443.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.2865, allocations: 166.6 kB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2868, allocations: 8 kB / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.29, allocations: 2.116 MB / 445.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2904, allocations: 0.708 MB / 446.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.2904, allocations: 12.5 kB / 446.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.2905, allocations: 47.41 kB / 446.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2905, allocations: 0 / 446.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3219, allocations: 3.438 MB / 450 MB, free: 4.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.72, allocations: 15.81 kB / 450 MB, free: 4.117 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv --start-time 0 --stop-time 6.2832 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0100051 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.158409542404115] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inductance1.i', 'SaturatingInductance1.Psi'] 11.81601207703352 11.839231089 11.562261295 Calling exit ...