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.001528/0.001528, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001923/0.001923, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.537/1.537, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.00199/0.00199, allocations: 75.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1146, allocations: 53.32 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.2344/0.349, allocations: 6.742 MB / 433.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.3537, allocations: 2.473 MB / 436.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007441/0.3545, allocations: 22.16 kB / 436.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.3584, allocations: 1.892 MB / 438 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.3605, allocations: 0.5492 MB / 438.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.3634, allocations: 1.322 MB / 439.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.3654, allocations: 1.121 MB / 441 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.3667, allocations: 0.719 MB / 441.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009261/0.3676, allocations: 483.2 kB / 442.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.3684, allocations: 0.6168 MB / 442.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.3686, allocations: 107.8 kB / 442.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.37, allocations: 448.9 kB / 443.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.3702, allocations: 248 kB / 443.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006927/0.3709, allocations: 0.5592 MB / 444.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.3742, allocations: 1.669 MB / 445.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3742, allocations: 0 / 445.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3742, allocations: 5.125 kB / 445.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.3742, allocations: 0 / 445.8 MB, free: 2.449 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007061/0.3813, allocations: 2.052 MB / 447.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3813, allocations: 13.92 kB / 447.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.3816, allocations: 191.1 kB / 448.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.3852, allocations: 497.3 kB / 448.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.3856, allocations: 315.2 kB / 448.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.3858, allocations: 99.8 kB / 449 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.386, allocations: 129.3 kB / 449.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.3886, allocations: 1.305 MB / 450.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.3887, allocations: 5.609 kB / 450.4 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3888, allocations: 50.91 kB / 450.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.3888, allocations: 31.59 kB / 450.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.3914, allocations: 1.187 MB / 451.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008/0.3994, allocations: 4.279 MB / 456 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.4024, allocations: 2.357 MB / 458.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/0.4034, allocations: 467.7 kB / 458.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4036, allocations: 197.6 kB / 459 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.4037, allocations: 44.38 kB / 459 MB, free: 10.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.586e-06/0.4037, allocations: 0 / 459 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01096/0.4146, allocations: 3.771 MB / 462.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.4147, allocations: 90.2 kB / 462.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.4153, allocations: 396.2 kB / 463.3 MB, free: 8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-05/0.4154, allocations: 46.92 kB / 463.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.4157, allocations: 465.3 kB / 463.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.4161, allocations: 448 kB / 464.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.4165, allocations: 229.8 kB / 464.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4167, allocations: 376.8 kB / 464.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4177, allocations: 432.3 kB / 465.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.419, allocations: 0.689 MB / 465.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.4214, allocations: 1.18 MB / 467.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4214, allocations: 5.312 kB / 467.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00322/0.4247, allocations: 1.458 MB / 468.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4247, allocations: 7.594 kB / 468.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4247, allocations: 11.75 kB / 468.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.4253, allocations: 202.7 kB / 468.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4265, allocations: 296 kB / 469.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.4317, allocations: 4.374 MB / 473.4 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4329, allocations: 70.53 kB / 473.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.4331, allocations: 59.22 kB / 473.6 MB, free: 220 kB / 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.000672/0.4337, allocations: 264.5 kB / 473.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.434, allocations: 68.52 kB / 473.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.4373, allocations: 1.341 MB / 475.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4373, allocations: 16.31 kB / 475.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.4373, allocations: 2.75 kB / 475.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.4374, allocations: 5.359 kB / 475.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.4431, allocations: 2.6 MB / 477.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.4432, allocations: 0 / 477.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4442, allocations: 215.8 kB / 478.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.4447, allocations: 168.8 kB / 478.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.371e-05/0.4448, allocations: 27.98 kB / 478.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/0.4497, allocations: 4.192 MB / 482.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4497, allocations: 0 / 482.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.4545, allocations: 1.869 MB / 484.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/0.4551, allocations: 228.6 kB / 484.5 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.4554, allocations: 20 kB / 484.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.4562, allocations: 55.95 kB / 484.6 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.4564, allocations: 96.8 kB / 484.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.4565, allocations: 44.05 kB / 484.8 MB, free: 5.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.4569, allocations: 267.2 kB / 485 MB, free: 5.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4569, allocations: 0 / 485 MB, free: 5.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001545/0.4584, allocations: 311.9 kB / 485.3 MB, free: 5.082 MB / 382.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.004813/0.4632, allocations: 2.478 MB / 487.8 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.4666, allocations: 1.387 MB / 489.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4666, allocations: 112 / 489.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.4683, allocations: 0.827 MB / 490 MB, free: 300 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.4692, allocations: 65.56 kB / 490.1 MB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.4856, allocations: 7.558 MB / 497.6 MB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/0.4866, allocations: 1.009 MB / 498.6 MB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006826/0.4873, allocations: 146.6 kB / 498.8 MB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.4879, allocations: 355.3 kB / 499.1 MB, free: 6.82 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4879, allocations: 0 / 499.1 MB, free: 6.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/0.551, allocations: 17.65 MB / 0.5047 GB, free: 5.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.32/22.87, allocations: 19.12 kB / 0.5047 GB, free: 5.379 MB / 414.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.329088334925473] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 22.962708896957338 22.980364078 22.603235628 Calling exit ...