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.BasicExamples.QuadraticCoreAirgap.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.001803/0.001803, allocations: 125.3 kB / 18.46 MB, free: 4.609 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.002404/0.002404, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.534/1.534, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",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.001912/0.001912, allocations: 67.83 kB / 365.2 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1189, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008918/0.1278, allocations: 6.712 MB / 422.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005154/0.133, allocations: 2.456 MB / 424.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.1339, allocations: 24 kB / 425 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004569/0.1386, allocations: 1.884 MB / 426.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.1408, allocations: 0.5472 MB / 427.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.1437, allocations: 1.322 MB / 428.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.1456, allocations: 1.113 MB / 429.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1472, allocations: 0.9426 MB / 430.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006987/0.1479, allocations: 482.2 kB / 431.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/0.1487, allocations: 0.6147 MB / 431.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.1489, allocations: 100 kB / 432 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.15, allocations: 455.6 kB / 432.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.1502, allocations: 247 kB / 432.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.1508, allocations: 0.5597 MB / 433.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.1532, allocations: 1.669 MB / 434.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1532, allocations: 4 kB / 434.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1532, allocations: 0 / 434.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1532, allocations: 0 / 434.9 MB, free: 10.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006666/0.1599, allocations: 2.055 MB / 436.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.16, allocations: 8.031 kB / 436.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/0.1602, allocations: 198.4 kB / 437.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.1639, allocations: 499.7 kB / 437.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.1645, allocations: 306.7 kB / 437.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.1647, allocations: 94.95 kB / 438 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.1649, allocations: 132.3 kB / 438.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.1677, allocations: 1.303 MB / 439.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.1678, allocations: 4 kB / 439.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.1679, allocations: 52 kB / 439.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.168, allocations: 32 kB / 439.5 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.1707, allocations: 1.185 MB / 440.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2432/0.4139, allocations: 4.282 MB / 445 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.4163, allocations: 2.443 MB / 447.5 MB, free: 26.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008561/0.4172, allocations: 0.5006 MB / 448 MB, free: 26.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.4174, allocations: 202.9 kB / 448.1 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4174, allocations: 52.61 kB / 448.2 MB, free: 26.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.206e-06/0.4174, allocations: 0.8438 kB / 448.2 MB, free: 26.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.00973/0.4272, allocations: 3.776 MB / 452 MB, free: 25.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.4272, allocations: 101.1 kB / 452.1 MB, free: 25.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.4277, allocations: 393.1 kB / 452.5 MB, free: 25.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.4278, allocations: 49.67 kB / 452.5 MB, free: 25.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.4281, allocations: 463.9 kB / 453 MB, free: 25.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.4284, allocations: 448.6 kB / 453.4 MB, free: 24.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.4288, allocations: 235.1 kB / 453.6 MB, free: 24.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4289, allocations: 373.2 kB / 454 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4301, allocations: 432.9 kB / 454.4 MB, free: 24.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.4314, allocations: 0.6894 MB / 455.1 MB, free: 24.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.4337, allocations: 1.178 MB / 456.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.4337, allocations: 2.375 kB / 456.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003107/0.4368, allocations: 1.472 MB / 457.8 MB, free: 23.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4368, allocations: 7.656 kB / 457.8 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4369, allocations: 8.25 kB / 457.8 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.4374, allocations: 203.2 kB / 458 MB, free: 23.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4386, allocations: 289.9 kB / 458.3 MB, free: 23.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.4422, allocations: 4.365 MB / 462.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.4432, allocations: 76.42 kB / 462.7 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/0.4433, allocations: 56.41 kB / 462.8 MB, free: 20.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004035/0.4437, allocations: 281.7 kB / 463 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4439, allocations: 70.52 kB / 463.1 MB, free: 19.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.4466, allocations: 1.334 MB / 464.4 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4467, allocations: 13.62 kB / 464.4 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4467, allocations: 2.188 kB / 464.4 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.4467, allocations: 8.047 kB / 464.5 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/0.4535, allocations: 2.61 MB / 467.1 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.4535, allocations: 1.375 kB / 467.1 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.455, allocations: 211.4 kB / 467.3 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005644/0.4556, allocations: 172.4 kB / 467.4 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.4557, allocations: 29.78 kB / 467.5 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/0.46, allocations: 4.183 MB / 471.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.46, allocations: 2.188 kB / 471.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.4661, allocations: 1.871 MB / 473.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.4667, allocations: 235.9 kB / 473.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4669, allocations: 21.69 kB / 473.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4679, allocations: 57.89 kB / 473.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.4682, allocations: 92.31 kB / 473.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.4684, allocations: 42.25 kB / 474 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.4688, allocations: 267.2 kB / 474.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4688, allocations: 0 / 474.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001944/0.4708, allocations: 307.2 kB / 474.5 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006534/0.4773, allocations: 2.495 MB / 477 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.4811, allocations: 1.462 MB / 478.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4811, allocations: 0 / 478.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.483, allocations: 0.8647 MB / 479.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.4839, allocations: 72.2 kB / 479.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.5012, allocations: 7.589 MB / 487 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.502, allocations: 1.004 MB / 488 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008759/0.5028, allocations: 139.4 kB / 488.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.5035, allocations: 357 kB / 488.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5036, allocations: 0 / 488.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07216/0.5757, allocations: 17.06 MB / 0.4937 GB, free: 5.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/23.32, allocations: 1.812 kB / 0.4937 GB, free: 5.332 MB / 382.1 MB " [Timeout remaining time 637] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.920085145975463] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 23.41307416802738 23.42679379 23.270968692 Calling exit ...