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.001442/0.001442, allocations: 105.5 kB / 19.74 MB, free: 2.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.001549/0.001549, allocations: 220 kB / 22.92 MB, free: 5.535 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.294/1.294, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.001763/0.001763, allocations: 79.8 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1981, allocations: 53.31 MB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007794/0.2058, allocations: 6.762 MB / 436.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.2097, allocations: 2.483 MB / 438.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.21, allocations: 20 kB / 438.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.2136, allocations: 1.889 MB / 440.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.2147, allocations: 0.5511 MB / 441.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.2171, allocations: 1.324 MB / 442.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.2182, allocations: 1.117 MB / 443.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.2192, allocations: 0.7197 MB / 444.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.2198, allocations: 486.2 kB / 444.8 MB, free: 8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.2204, allocations: 0.6186 MB / 445.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2205, allocations: 100 kB / 445.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.2213, allocations: 451.6 kB / 445.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.2215, allocations: 247.1 kB / 446.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.222, allocations: 0.5636 MB / 446.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.2236, allocations: 1.666 MB / 448.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2236, allocations: 0 / 448.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2236, allocations: 0 / 448.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2236, allocations: 3.938 kB / 448.4 MB, free: 4.355 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.005837/0.2295, allocations: 2.059 MB / 450.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2295, allocations: 8.031 kB / 450.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.2297, allocations: 190.4 kB / 450.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.233, allocations: 491.8 kB / 451.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.2333, allocations: 314.6 kB / 451.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.2334, allocations: 98.95 kB / 451.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.2336, allocations: 128.3 kB / 451.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.2357, allocations: 1.307 MB / 453 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.2358, allocations: 3.984 kB / 453 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.2359, allocations: 52 kB / 453 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.2359, allocations: 32 kB / 453.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.2382, allocations: 1.189 MB / 454.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.2442, allocations: 4.286 MB / 458.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.2466, allocations: 2.354 MB / 460.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.2475, allocations: 456.5 kB / 461.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.2477, allocations: 207.1 kB / 461.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2477, allocations: 47.55 kB / 461.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.384e-06/0.2477, allocations: 0 / 461.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009584/0.2573, allocations: 3.767 MB / 465.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.2574, allocations: 90.11 kB / 465.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.2578, allocations: 397.5 kB / 465.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.2578, allocations: 49.64 kB / 465.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.2581, allocations: 464.6 kB / 466.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.2584, allocations: 448.2 kB / 466.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.2587, allocations: 231.5 kB / 467 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2589, allocations: 374.8 kB / 467.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/0.2598, allocations: 431.8 kB / 467.8 MB, free: 128 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.261, allocations: 0.6957 MB / 468.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.2632, allocations: 1.179 MB / 469.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2632, allocations: 7.938 kB / 469.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002836/0.266, allocations: 1.455 MB / 471.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2661, allocations: 15.94 kB / 471.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2661, allocations: 8 kB / 471.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.2666, allocations: 194.3 kB / 471.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.2677, allocations: 291.6 kB / 471.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/0.2718, allocations: 4.368 MB / 476 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.2726, allocations: 75.97 kB / 476 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.2726, allocations: 55.98 kB / 476.1 MB, free: 7.312 MB / 382.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.0003658/0.273, allocations: 277.5 kB / 476.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2731, allocations: 67.58 kB / 476.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.2759, allocations: 1.327 MB / 477.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.2759, allocations: 19.92 kB / 477.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.276, allocations: 4 kB / 477.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.276, allocations: 3.984 kB / 477.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.2802, allocations: 2.606 MB / 480.4 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2802, allocations: 4 kB / 480.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.2812, allocations: 207.7 kB / 480.6 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.2816, allocations: 173.5 kB / 480.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.2816, allocations: 27.98 kB / 480.8 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.2854, allocations: 4.186 MB / 485 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2854, allocations: 3.938 kB / 485 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.2889, allocations: 1.865 MB / 486.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.2892, allocations: 228.6 kB / 487.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/0.2893, allocations: 27.94 kB / 487.1 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.2899, allocations: 60.02 kB / 487.2 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.2901, allocations: 92.86 kB / 487.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.2901, allocations: 39.98 kB / 487.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2904, allocations: 263.2 kB / 487.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2904, allocations: 0 / 487.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009688/0.2914, allocations: 315.9 kB / 487.9 MB, free: 11.09 MB / 398.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.00397/0.2953, allocations: 2.478 MB / 490.3 MB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.298, allocations: 1.391 MB / 491.7 MB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.298, allocations: 0 / 491.7 MB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.2994, allocations: 0.8161 MB / 492.5 MB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.2998, allocations: 69.55 kB / 492.6 MB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.3118, allocations: 7.556 MB / 0.4884 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.3124, allocations: 1.013 MB / 0.4894 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004944/0.3129, allocations: 146.6 kB / 0.4896 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/0.3134, allocations: 351.3 kB / 0.4899 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3134, allocations: 0 / 0.4899 GB, free: 12.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.3638, allocations: 17.71 MB / 0.5072 GB, free: 11.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.52/20.88, allocations: 0 / 0.5072 GB, free: 11.29 MB / 430.1 MB " [Timeout remaining time 639] (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 --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: 23.003999570995802]