Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001605/0.001605, allocations: 112.9 kB / 18.5 MB, free: 4.406 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.002106/0.002106, allocations: 205 kB / 21.45 MB, free: 1.457 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.624/1.624, 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.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",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.002072/0.002072, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1314, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004801/0.1362, allocations: 2.836 MB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1377, allocations: 0.7866 MB / 430.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1379, allocations: 8 kB / 430.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1382, allocations: 67.39 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.1385, allocations: 99.22 kB / 430.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.1389, allocations: 103.8 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1394, allocations: 398.5 kB / 431.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.1396, allocations: 98.86 kB / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.14, allocations: 159.4 kB / 431.5 MB, free: 216 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1402, allocations: 171.2 kB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.1403, allocations: 32 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2514/0.3916, allocations: 32.36 kB / 431.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3918, allocations: 69.95 kB / 431.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.3921, allocations: 176.7 kB / 432 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.3927, allocations: 397.7 kB / 432.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3927, allocations: 1.125 kB / 432.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3927, allocations: 0.9375 kB / 432.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3927, allocations: 0 / 432.4 MB, free: 7.965 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001152/0.3939, allocations: 0.6493 MB / 433.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3939, allocations: 9.438 kB / 433.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.394, allocations: 71.59 kB / 433.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.394, allocations: 39.67 kB / 433.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.3945, allocations: 275.3 kB / 433.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.3945, allocations: 24.12 kB / 433.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.3946, allocations: 30.48 kB / 433.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3952, allocations: 293.8 kB / 433.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3952, allocations: 0 / 433.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.3952, allocations: 16.66 kB / 433.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3952, allocations: 8.656 kB / 433.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.3958, allocations: 252.7 kB / 434.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.3973, allocations: 1.112 MB / 435.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.3977, allocations: 151.2 kB / 435.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3979, allocations: 62.61 kB / 435.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3979, allocations: 8.688 kB / 435.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.398, allocations: 36.16 kB / 435.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.398, allocations: 0 / 435.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002254/0.4002, allocations: 0.5925 MB / 436 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.4002, allocations: 54.59 kB / 436.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.4005, allocations: 273.8 kB / 436.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.4006, allocations: 28.2 kB / 436.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4007, allocations: 235.2 kB / 436.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.4007, allocations: 79.75 kB / 436.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4008, allocations: 69.27 kB / 436.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.4009, allocations: 337.5 kB / 437.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4012, allocations: 94.78 kB / 437.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.4016, allocations: 199.9 kB / 437.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.4023, allocations: 297.7 kB / 437.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4023, allocations: 1.219 kB / 437.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000906/0.4032, allocations: 391.5 kB / 438 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4032, allocations: 6.812 kB / 438 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4032, allocations: 4.047 kB / 438 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.4035, allocations: 61.3 kB / 438.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.4038, allocations: 74.17 kB / 438.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.4055, allocations: 2.833 MB / 441 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.4058, allocations: 25.5 kB / 441 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.4059, allocations: 15.91 kB / 441 MB, free: 2.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.406, allocations: 163 kB / 441.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.4061, allocations: 23.06 kB / 441.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.4062, allocations: 30.27 kB / 441.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4062, allocations: 2.625 kB / 441.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.4062, allocations: 1.25 kB / 441.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4062, allocations: 1.406 kB / 441.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.4066, allocations: 336.2 kB / 441.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.4066, allocations: 1.969 kB / 441.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4068, allocations: 43.7 kB / 441.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.407, allocations: 51.05 kB / 441.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.407, allocations: 5.812 kB / 441.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.4088, allocations: 2.836 MB / 444.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4088, allocations: 1.094 kB / 444.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.4097, allocations: 376 kB / 444.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4098, allocations: 107.8 kB / 445 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.4098, allocations: 2.969 kB / 445 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.4101, allocations: 17.94 kB / 445 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.4102, allocations: 22.66 kB / 445 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4102, allocations: 4.094 kB / 445 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.4105, allocations: 187.9 kB / 445.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4105, allocations: 1.125 kB / 445.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.411, allocations: 74.34 kB / 445.3 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.4121, allocations: 0.9123 MB / 446.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4133, allocations: 470.4 kB / 446.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4133, allocations: 0.8125 kB / 446.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.4139, allocations: 348.2 kB / 447 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.4144, allocations: 24.66 kB / 447 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/0.4199, allocations: 2.967 MB / 450 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.4203, allocations: 0.772 MB / 450.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.4205, allocations: 29.58 kB / 450.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.4207, allocations: 100.7 kB / 450.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4207, allocations: 0 / 450.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/0.4643, allocations: 5.659 MB / 456.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.56, allocations: 6.656 kB / 456.6 MB, free: 10.08 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_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_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.27972797723487] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.648962989915162 11.67311943 11.275588485 Calling exit ...