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.ToroidalCoreQuadraticCrossSection.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.001418/0.001418, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.00162/0.00162, allocations: 221.2 kB / 22.92 MB, free: 5.559 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.291/1.291, allocations: 230.4 MB / 256.4 MB, free: 8.281 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.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",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.001814/0.001814, allocations: 75.77 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2081, allocations: 53.31 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003876/0.212, allocations: 2.885 MB / 432.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2133, allocations: 0.7983 MB / 433.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2134, allocations: 4 kB / 433.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.2136, allocations: 63.38 kB / 433.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.2139, allocations: 99.19 kB / 433.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.2141, allocations: 115.8 kB / 433.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.2145, allocations: 402.5 kB / 433.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2147, allocations: 94.94 kB / 433.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.2149, allocations: 163.4 kB / 434 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2151, allocations: 175.2 kB / 434.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.2152, allocations: 32 kB / 434.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.2153, allocations: 32 kB / 434.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.2153, allocations: 83.69 kB / 434.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.2155, allocations: 179.1 kB / 434.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.2159, allocations: 406.6 kB / 434.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2159, allocations: 0 / 434.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2159, allocations: 0 / 434.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2159, allocations: 7.938 kB / 434.9 MB, free: 1.93 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.001191/0.2171, allocations: 0.6728 MB / 435.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2171, allocations: 8.031 kB / 435.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.748e-05/0.2172, allocations: 66.72 kB / 435.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.2173, allocations: 40.7 kB / 435.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.2176, allocations: 275.5 kB / 436 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.2176, allocations: 21.03 kB / 436 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.2177, allocations: 32.38 kB / 436 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.2183, allocations: 302.1 kB / 436.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2183, allocations: 0 / 436.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.2183, allocations: 12 kB / 436.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2183, allocations: 8 kB / 436.3 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.2189, allocations: 254.5 kB / 436.6 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.2205, allocations: 1.112 MB / 437.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.2209, allocations: 150.5 kB / 437.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2211, allocations: 68.75 kB / 437.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2211, allocations: 4 kB / 437.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2212, allocations: 38.55 kB / 437.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.2212, allocations: 0 / 437.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001984/0.2231, allocations: 0.5944 MB / 438.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2232, allocations: 51.41 kB / 438.6 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2235, allocations: 294.8 kB / 438.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2235, allocations: 29.7 kB / 438.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.2237, allocations: 232.1 kB / 439.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.2237, allocations: 71.38 kB / 439.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2238, allocations: 69.59 kB / 439.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2239, allocations: 338.8 kB / 439.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2242, allocations: 95.92 kB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.2246, allocations: 196 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.2252, allocations: 305.1 kB / 440.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2252, allocations: 4 kB / 440.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008421/0.2261, allocations: 405.4 kB / 440.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2261, allocations: 4 kB / 440.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2261, allocations: 4 kB / 440.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.2263, allocations: 57.67 kB / 440.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2266, allocations: 79.89 kB / 440.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.2287, allocations: 2.834 MB / 443.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.229, allocations: 19.98 kB / 443.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.229, allocations: 19.98 kB / 443.6 MB, free: 8.574 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.0001505/0.2292, allocations: 153.7 kB / 443.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.2292, allocations: 27.81 kB / 443.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.2293, allocations: 30.2 kB / 443.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2293, allocations: 15.94 kB / 443.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2293, allocations: 0 / 443.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2293, allocations: 0 / 443.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.2296, allocations: 337.4 kB / 444.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2296, allocations: 0 / 444.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.2299, allocations: 39.97 kB / 444.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.23, allocations: 61.67 kB / 444.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.23, allocations: 0 / 444.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.232, allocations: 2.837 MB / 447.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.232, allocations: 0 / 447.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.2327, allocations: 384.8 kB / 447.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.2328, allocations: 96.95 kB / 447.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2328, allocations: 8 kB / 447.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.233, allocations: 15.98 kB / 447.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.2331, allocations: 19.97 kB / 447.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2331, allocations: 4 kB / 447.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.2333, allocations: 202 kB / 447.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2333, allocations: 0 / 447.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.2336, allocations: 75.94 kB / 447.9 MB, free: 3.906 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.0009821/0.2346, allocations: 0.919 MB / 448.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008909/0.2355, allocations: 469.1 kB / 449.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2355, allocations: 0 / 449.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.236, allocations: 346 kB / 449.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2363, allocations: 40.06 kB / 449.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.2406, allocations: 3.029 MB / 452.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.2409, allocations: 0.7714 MB / 453.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.241, allocations: 30.27 kB / 453.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2412, allocations: 99.41 kB / 453.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2412, allocations: 0 / 453.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.2744, allocations: 5.786 MB / 459.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.839/9.114, allocations: 12.94 kB / 459.4 MB, free: 8.301 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.193151747997035]