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.001421/0.001421, allocations: 106.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.00158/0.00158, allocations: 220.3 kB / 22.92 MB, free: 5.531 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.289/1.289, allocations: 230.5 MB / 256.4 MB, free: 8.438 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.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.001804/0.001804, allocations: 59.84 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.223, allocations: 53.32 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004002/0.227, allocations: 2.857 MB / 432.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2284, allocations: 0.7984 MB / 433.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.2285, allocations: 4 kB / 433.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2287, allocations: 63.44 kB / 433.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.2289, allocations: 99.12 kB / 433.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.2292, allocations: 115.8 kB / 433.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.2296, allocations: 394.5 kB / 433.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2298, allocations: 94.92 kB / 433.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.23, allocations: 155.4 kB / 434 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2303, allocations: 171.2 kB / 434.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.2303, allocations: 36 kB / 434.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.447e-05/0.2304, allocations: 32 kB / 434.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.2304, allocations: 75.7 kB / 434.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2306, allocations: 179.1 kB / 434.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.231, allocations: 394.7 kB / 434.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.231, allocations: 0 / 434.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.231, allocations: 0 / 434.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.231, allocations: 0 / 434.8 MB, free: 1.961 MB / 334.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.001087/0.2321, allocations: 0.6584 MB / 435.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2321, allocations: 8.031 kB / 435.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.028e-05/0.2322, allocations: 70.72 kB / 435.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.2323, allocations: 36.7 kB / 435.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.2326, allocations: 264.8 kB / 435.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.2326, allocations: 29.03 kB / 435.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.2327, allocations: 32.38 kB / 435.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.2332, allocations: 298.1 kB / 436.2 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2332, allocations: 0 / 436.2 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.2333, allocations: 15.94 kB / 436.2 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2333, allocations: 8 kB / 436.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.2339, allocations: 250.5 kB / 436.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.2354, allocations: 1.108 MB / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.2358, allocations: 154.4 kB / 437.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.236, allocations: 64.83 kB / 437.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.236, allocations: 4 kB / 437.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.2361, allocations: 34.55 kB / 437.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.2361, allocations: 0 / 437.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001953/0.238, allocations: 0.5931 MB / 438.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.2381, allocations: 55.41 kB / 438.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.2383, allocations: 274.5 kB / 438.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2384, allocations: 25.7 kB / 438.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2385, allocations: 240 kB / 439 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.2386, allocations: 75.38 kB / 439.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.2387, allocations: 65.44 kB / 439.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2388, allocations: 338.8 kB / 439.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.2391, allocations: 91.92 kB / 439.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.2395, allocations: 196.1 kB / 439.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.2401, allocations: 305.1 kB / 440.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2401, allocations: 0 / 440.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008038/0.2409, allocations: 393.5 kB / 440.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2409, allocations: 8 kB / 440.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2409, allocations: 4 kB / 440.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.2411, allocations: 61.66 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.2414, allocations: 75.89 kB / 440.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.2435, allocations: 2.834 MB / 443.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.2438, allocations: 32.05 kB / 443.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2438, allocations: 12 kB / 443.5 MB, free: 8.652 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.000164/0.244, allocations: 161.5 kB / 443.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.244, allocations: 23.86 kB / 443.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.2441, allocations: 34.17 kB / 443.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2441, allocations: 0 / 443.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2441, allocations: 4 kB / 443.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2441, allocations: 4 kB / 443.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.2445, allocations: 337.4 kB / 444 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2445, allocations: 0 / 444 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.2447, allocations: 35.97 kB / 444.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.2448, allocations: 53.69 kB / 444.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2448, allocations: 7.984 kB / 444.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.2468, allocations: 2.837 MB / 446.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2468, allocations: 0 / 446.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.2475, allocations: 376.8 kB / 447.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.2476, allocations: 101 kB / 447.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.2476, allocations: 4 kB / 447.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2478, allocations: 15.98 kB / 447.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.2479, allocations: 16.11 kB / 447.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2479, allocations: 11.98 kB / 447.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2481, allocations: 193.9 kB / 447.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2481, allocations: 0 / 447.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.2484, allocations: 72 kB / 447.7 MB, free: 4.008 MB / 350.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.0009937/0.2494, allocations: 0.9147 MB / 448.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009031/0.2503, allocations: 474.7 kB / 449.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2503, allocations: 0 / 449.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.2508, allocations: 333.3 kB / 449.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2511, allocations: 36.45 kB / 449.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.2552, allocations: 2.961 MB / 452.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.2556, allocations: 0.7714 MB / 453.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.2557, allocations: 30.27 kB / 453.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2558, allocations: 107.3 kB / 453.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2558, allocations: 0 / 453.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.2904, allocations: 5.647 MB / 459 MB, free: 8.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.75/9.04, allocations: 17.94 kB / 459 MB, free: 8.59 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 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: 11.142929058994923]