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.FixedShapes.CuboidSections.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.001692/0.001692, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002365/0.002365, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.483/1.483, allocations: 230.5 MB / 254.7 MB, free: 15 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.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.002539/0.002539, allocations: 63.88 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1156, allocations: 53.32 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006362/0.122, allocations: 4.357 MB / 431.2 MB, free: 456 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.223/0.345, allocations: 1.727 MB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.3455, allocations: 14.47 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.348, allocations: 1.025 MB / 434 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.3491, allocations: 260.4 kB / 434.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3506, allocations: 0.7708 MB / 435 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.3515, allocations: 0.6349 MB / 435.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.3522, allocations: 402.2 kB / 436.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.3526, allocations: 277.8 kB / 436.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.353, allocations: 359.6 kB / 436.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.585e-05/0.353, allocations: 55.06 kB / 436.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.3538, allocations: 295.5 kB / 437 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3539, allocations: 139.2 kB / 437.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.3542, allocations: 330.7 kB / 437.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.3554, allocations: 0.9773 MB / 438.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3554, allocations: 0 / 438.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3554, allocations: 1.25 kB / 438.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.3554, allocations: 0 / 438.5 MB, free: 6.348 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003619/0.3591, allocations: 1.291 MB / 439.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3591, allocations: 10.19 kB / 439.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.3592, allocations: 124 kB / 439.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3606, allocations: 198 kB / 440.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3608, allocations: 233.3 kB / 440.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.3608, allocations: 58.94 kB / 440.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.361, allocations: 76.98 kB / 440.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3623, allocations: 0.771 MB / 441.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3623, allocations: 1.781 kB / 441.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.3624, allocations: 31.72 kB / 441.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3624, allocations: 18.19 kB / 441.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3637, allocations: 0.6665 MB / 441.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.3678, allocations: 3.265 MB / 445.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3697, allocations: 2.023 MB / 447.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.3702, allocations: 290.8 kB / 447.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3703, allocations: 188.4 kB / 447.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3704, allocations: 43.14 kB / 447.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.455e-06/0.3704, allocations: 7.938 kB / 447.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002626/0.373, allocations: 1.135 MB / 448.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.3731, allocations: 110.4 kB / 449 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.3734, allocations: 282.3 kB / 449.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.3735, allocations: 36.23 kB / 449.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3737, allocations: 298 kB / 449.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.374, allocations: 259.8 kB / 449.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.3742, allocations: 136.2 kB / 450 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3744, allocations: 356.9 kB / 450.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.3749, allocations: 232.4 kB / 450.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.3756, allocations: 387.2 kB / 450.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3768, allocations: 0.6351 MB / 451.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3768, allocations: 1.125 kB / 451.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001616/0.3784, allocations: 0.8361 MB / 452.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.3785, allocations: 7.281 kB / 452.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3785, allocations: 4.344 kB / 452.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.3789, allocations: 128.5 kB / 452.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.3795, allocations: 153.9 kB / 452.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.3833, allocations: 3.792 MB / 456.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.3839, allocations: 90.12 kB / 456.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.384, allocations: 28.56 kB / 456.6 MB, free: 9.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * 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,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.3843, allocations: 199.8 kB / 456.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3844, allocations: 45.34 kB / 456.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.386, allocations: 0.7441 MB / 457.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.386, allocations: 8.906 kB / 457.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.386, allocations: 2.75 kB / 457.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.386, allocations: 7.781 kB / 457.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.3887, allocations: 1.483 MB / 459.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3887, allocations: 2.297 kB / 459.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.3892, allocations: 119.2 kB / 459.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.3895, allocations: 110.8 kB / 459.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.3895, allocations: 15.14 kB / 459.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.3927, allocations: 3.359 MB / 462.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3927, allocations: 1.156 kB / 462.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.3947, allocations: 1.121 MB / 463.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.3949, allocations: 131.9 kB / 463.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.395, allocations: 11.62 kB / 463.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.3953, allocations: 26.62 kB / 464 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3955, allocations: 60 kB / 464 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.3955, allocations: 20.78 kB / 464 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3957, allocations: 193.9 kB / 464.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3957, allocations: 1.281 kB / 464.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000882/0.3966, allocations: 218.5 kB / 464.4 MB, free: 4.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_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 (60): * Single equations (assignments): 58 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002454/0.3991, allocations: 1.716 MB / 466.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.4008, allocations: 0.8433 MB / 467 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4008, allocations: 0 / 467 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009756/0.4018, allocations: 0.5414 MB / 467.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.4023, allocations: 37.67 kB / 467.6 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.41, allocations: 4.757 MB / 472.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.4106, allocations: 0.8671 MB / 473.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003477/0.4109, allocations: 77.89 kB / 473.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.4112, allocations: 199.7 kB / 473.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4112, allocations: 0 / 473.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.4564, allocations: 10.95 MB / 484.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.87, allocations: 7.438 kB / 484.4 MB, free: 5.57 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.251911277882755] Failed to read output from testmodel.py, exit status != 0: ['time', 'cuboidRight.port_p.reference.gamma'] 10.959176834207028 10.979038135 10.619568116 Calling exit ...