Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001309/0.001309, allocations: 122 kB / 18.51 MB, free: 4.617 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.001477/0.001477, allocations: 207.3 kB / 21.45 MB, free: 1.672 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.49/1.49, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.002543/0.002543, allocations: 75.81 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1093, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00474/0.1141, allocations: 2.863 MB / 429.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1164, allocations: 1.23 MB / 431.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1166, allocations: 8 kB / 431.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.1183, allocations: 0.6257 MB / 431.7 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.216/0.3342, allocations: 135.6 kB / 431.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3357, allocations: 0.6473 MB / 432.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.3361, allocations: 303.1 kB / 432.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.3365, allocations: 203.3 kB / 433 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3367, allocations: 142.7 kB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3369, allocations: 162.4 kB / 433.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.3369, allocations: 25.38 kB / 433.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.3373, allocations: 186.5 kB / 433.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.3374, allocations: 66.92 kB / 433.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3375, allocations: 147 kB / 433.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.338, allocations: 0.4996 MB / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.338, allocations: 1.094 kB / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.338, allocations: 0 / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.338, allocations: 0 / 434.2 MB, free: 7.371 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001469/0.3395, allocations: 0.7336 MB / 434.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3395, allocations: 10.59 kB / 435 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.3396, allocations: 70.19 kB / 435 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.3404, allocations: 114.5 kB / 435.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3407, allocations: 275 kB / 435.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3408, allocations: 20.81 kB / 435.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.3408, allocations: 34.16 kB / 435.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.3413, allocations: 334.4 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3413, allocations: 4.812 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.3414, allocations: 12.47 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3414, allocations: 11.66 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.3418, allocations: 241.3 kB / 436.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3437, allocations: 1.439 MB / 437.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.3443, allocations: 0.6828 MB / 438.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3444, allocations: 89.75 kB / 438.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.3445, allocations: 172.6 kB / 438.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3446, allocations: 44.53 kB / 438.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.3446, allocations: 0 / 438.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00119/0.3457, allocations: 493.8 kB / 439 MB, free: 4.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.3458, allocations: 54.25 kB / 439 MB, free: 4.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3459, allocations: 171.6 kB / 439.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3459, allocations: 30.73 kB / 439.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.346, allocations: 179.4 kB / 439.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.346, allocations: 91.14 kB / 439.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.3461, allocations: 54.02 kB / 439.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.3462, allocations: 330 kB / 439.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.3463, allocations: 66.16 kB / 439.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3464, allocations: 135.5 kB / 440 MB, free: 3.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3467, allocations: 221.4 kB / 440.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3467, allocations: 1.156 kB / 440.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005451/0.3472, allocations: 330 kB / 440.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3473, allocations: 6.953 kB / 440.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3473, allocations: 3.594 kB / 440.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/0.3476, allocations: 83.3 kB / 440.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3478, allocations: 45.75 kB / 440.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.3495, allocations: 2.023 MB / 442.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3497, allocations: 31.58 kB / 442.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.3497, allocations: 8.094 kB / 442.8 MB, free: 1.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.3498, allocations: 147.9 kB / 442.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.3499, allocations: 24.64 kB / 442.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.3504, allocations: 280.3 kB / 443.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3505, allocations: 7 kB / 443.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3505, allocations: 1.594 kB / 443.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3505, allocations: 2.938 kB / 443.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3515, allocations: 0.6834 MB / 443.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3515, allocations: 1.281 kB / 443.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3516, allocations: 30.7 kB / 443.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.3519, allocations: 77.14 kB / 444 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3519, allocations: 5.641 kB / 444 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.3539, allocations: 2.025 MB / 446.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3539, allocations: 0.5 kB / 446.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.3547, allocations: 462.2 kB / 446.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3548, allocations: 111.1 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3549, allocations: 5.812 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.355, allocations: 5.281 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.355, allocations: 15.95 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.3551, allocations: 14.67 kB / 446.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3552, allocations: 125.2 kB / 446.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 1.125 kB / 446.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006207/0.3558, allocations: 95.84 kB / 446.9 MB, free: 14.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.357, allocations: 1.001 MB / 447.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006778/0.3577, allocations: 348.9 kB / 448.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3577, allocations: 3.938 kB / 448.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.358, allocations: 241.7 kB / 448.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3583, allocations: 22.72 kB / 448.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.3618, allocations: 2.502 MB / 451 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3623, allocations: 0.7563 MB / 451.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.994e-05/0.3624, allocations: 22.17 kB / 451.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3625, allocations: 72.86 kB / 451.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3625, allocations: 4 kB / 451.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.4073, allocations: 5.208 MB / 457 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.58, allocations: 11.75 kB / 457 MB, free: 10.05 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.06186351692304] Failed to read output from testmodel.py, exit status != 0: ['time', 'leakageWithCoefficient.port_p.reference.gamma'] 10.66159261437133 10.677542385 10.336435709 Calling exit ...