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.001343/0.001343, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.00139/0.00139, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.478/1.478, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.002024/0.002024, allocations: 79.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1145, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00367/0.1181, allocations: 2.073 MB / 429.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1194, allocations: 0.6584 MB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.1195, allocations: 4 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.1196, allocations: 19.78 kB / 429.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1197, allocations: 51.62 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1202, allocations: 103.7 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1205, allocations: 183.2 kB / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1206, allocations: 37.53 kB / 430.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1209, allocations: 91.62 kB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.121, allocations: 75.69 kB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.121, allocations: 16 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.1211, allocations: 20 kB / 430.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1211, allocations: 43.83 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.1212, allocations: 75.66 kB / 430.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1215, allocations: 187.2 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1215, allocations: 0 / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1215, allocations: 0 / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1215, allocations: 3.938 kB / 430.6 MB, free: 1.137 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008443/0.1224, allocations: 478.7 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1224, allocations: 12.03 kB / 431.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.1225, allocations: 38.75 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.1229, allocations: 52.8 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1232, allocations: 224.1 kB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1233, allocations: 8.375 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1233, allocations: 12.38 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1236, allocations: 152.2 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1236, allocations: 3.938 kB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1237, allocations: 0 / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1237, allocations: 8 kB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1962/0.3198, allocations: 89.12 kB / 431.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009346/0.3208, allocations: 0.5019 MB / 432.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3211, allocations: 104.3 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3213, allocations: 67.09 kB / 432.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3213, allocations: 0 / 432.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3213, allocations: 34.19 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.3213, allocations: 2.844 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004694/0.3218, allocations: 148 kB / 432.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.3218, allocations: 108.6 kB / 432.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3219, allocations: 156.3 kB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.322, allocations: 30.7 kB / 432.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.322, allocations: 119.6 kB / 432.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.322, allocations: 28.11 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.3221, allocations: 32.12 kB / 433 MB, free: 10.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.3221, allocations: 321.5 kB / 433.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3223, allocations: 44.47 kB / 433.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3224, allocations: 81.64 kB / 433.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3226, allocations: 99.33 kB / 433.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3226, allocations: 1.266 kB / 433.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003139/0.3229, allocations: 152.8 kB / 433.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.323, allocations: 4.344 kB / 433.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.323, allocations: 0.6875 kB / 433.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.323, allocations: 5.531 kB / 433.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.3235, allocations: 89.47 kB / 433.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.3246, allocations: 1.497 MB / 435.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.3248, allocations: 18.78 kB / 435.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3248, allocations: 5.25 kB / 435.3 MB, free: 8.609 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 8.019e-05/0.3248, allocations: 124.9 kB / 435.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.3249, allocations: 15.16 kB / 435.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.3253, allocations: 160.5 kB / 435.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3253, allocations: 4 kB / 435.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.3253, allocations: 0 / 435.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3253, allocations: 3.312 kB / 435.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.3259, allocations: 462.3 kB / 436.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3259, allocations: 1 kB / 436.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3261, allocations: 26.75 kB / 436.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.3263, allocations: 36.73 kB / 436.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3263, allocations: 1.125 kB / 436.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007242/0.327, allocations: 1.395 MB / 437.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.327, allocations: 1.469 kB / 437.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.3275, allocations: 300.8 kB / 437.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3275, allocations: 85.25 kB / 437.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3275, allocations: 4.219 kB / 437.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.3277, allocations: 20.58 kB / 437.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.3277, allocations: 7.281 kB / 437.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3277, allocations: 7.547 kB / 437.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.3278, allocations: 121.7 kB / 438.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3278, allocations: 0 / 438.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.3281, allocations: 43.67 kB / 438.1 MB, free: 6.414 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.0007243/0.3288, allocations: 0.8367 MB / 438.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.3295, allocations: 136.5 kB / 439.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3295, allocations: 5.688 kB / 439.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.3298, allocations: 161 kB / 439.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.33, allocations: 9.453 kB / 439.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3328, allocations: 2.11 MB / 441.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3329, allocations: 0.7145 MB / 442.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.333, allocations: 11.45 kB / 442.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.333, allocations: 42.91 kB / 442.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.333, allocations: 0 / 442.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.3635, allocations: 3.418 MB / 445.5 MB, free: 3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 10.66 kB / 445.5 MB, free: 2.996 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.154408699832857] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inductance1.i', 'SaturatingInductance1.Psi'] 11.782138300128281 11.805429464 11.678991953 Calling exit ...