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.00147/0.00147, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001844/0.001844, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001981/0.001981, allocations: 64.78 kB / 378.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006297/0.318, allocations: 4.389 MB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.3213, allocations: 1.74 MB / 438.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.3215, allocations: 15.94 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.324, allocations: 1.026 MB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.3246, allocations: 258.1 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3262, allocations: 0.7811 MB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007322/0.3269, allocations: 0.6299 MB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.3277, allocations: 474.5 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.3281, allocations: 282.9 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.3286, allocations: 362.5 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.3287, allocations: 56 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000693/0.3294, allocations: 287.7 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3295, allocations: 135.5 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.3298, allocations: 330.3 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3311, allocations: 0.9842 MB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3311, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3311, allocations: 4 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3311, allocations: 0 / 443.6 MB, free: 11.16 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.003829/0.3349, allocations: 1.211 MB / 444.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3349, allocations: 8.031 kB / 444.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.3351, allocations: 122.8 kB / 445 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.3365, allocations: 196.4 kB / 445.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3367, allocations: 181.8 kB / 445.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.3368, allocations: 62.31 kB / 445.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3369, allocations: 72.38 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.3385, allocations: 0.7661 MB / 446.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.3385, allocations: 4 kB / 446.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.3386, allocations: 32 kB / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.3386, allocations: 20 kB / 446.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3399, allocations: 0.6688 MB / 447 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.3444, allocations: 2.876 MB / 449.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.3463, allocations: 0.8206 MB / 450.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.3469, allocations: 295.4 kB / 450.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.347, allocations: 32.62 kB / 451 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.3471, allocations: 47.2 kB / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.3471, allocations: 0 / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002649/0.3497, allocations: 0.9835 MB / 452 MB, free: 2.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.3498, allocations: 111.5 kB / 452.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3501, allocations: 281.7 kB / 452.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.3502, allocations: 33.7 kB / 452.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.3504, allocations: 296.4 kB / 452.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.3506, allocations: 265.7 kB / 453 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.3508, allocations: 138.6 kB / 453.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.351, allocations: 354.7 kB / 453.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.3515, allocations: 229.9 kB / 453.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.3522, allocations: 390.2 kB / 454.1 MB, free: 296 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3534, allocations: 0.6338 MB / 454.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3534, allocations: 4 kB / 454.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001726/0.3551, allocations: 0.8307 MB / 455.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.3551, allocations: 8 kB / 455.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3551, allocations: 4 kB / 455.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.3556, allocations: 121.7 kB / 455.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.3562, allocations: 163.7 kB / 455.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.3603, allocations: 3.583 MB / 459.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.3609, allocations: 87.39 kB / 459.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.361, allocations: 39.92 kB / 459.5 MB, free: 10.52 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.0004072/0.3614, allocations: 189.7 kB / 459.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.3616, allocations: 43.78 kB / 459.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.3632, allocations: 0.7375 MB / 460.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3632, allocations: 12 kB / 460.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3633, allocations: 4 kB / 460.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3633, allocations: 7.922 kB / 460.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.3661, allocations: 1.457 MB / 462 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.3661, allocations: 0 / 462 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.3666, allocations: 115.8 kB / 462.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.3669, allocations: 109.6 kB / 462.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.367, allocations: 23.98 kB / 462.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.3702, allocations: 3.142 MB / 465.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3702, allocations: 3.938 kB / 465.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.3723, allocations: 1.125 MB / 466.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3724, allocations: 47.73 kB / 466.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.3725, allocations: 19.95 kB / 466.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.3729, allocations: 27.97 kB / 466.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.373, allocations: 56.55 kB / 466.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.3731, allocations: 19.94 kB / 466.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.3733, allocations: 193.2 kB / 466.8 MB, free: 2.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 0 / 466.8 MB, free: 2.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008459/0.3741, allocations: 215.6 kB / 467.1 MB, free: 2.652 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.002558/0.3767, allocations: 1.72 MB / 468.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3784, allocations: 0.8561 MB / 469.6 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3784, allocations: 0 / 469.6 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.3793, allocations: 0.5407 MB / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.3798, allocations: 44.75 kB / 470.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.3876, allocations: 4.742 MB / 475 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.3882, allocations: 0.8655 MB / 475.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.3885, allocations: 76.36 kB / 475.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.3888, allocations: 203.3 kB / 476.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3888, allocations: 0 / 476.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/0.4395, allocations: 11.4 MB / 487.5 MB, free: 14.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.08, allocations: 64 / 487.5 MB, free: 14.05 MB / 398.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.51668093400076] Failed to read output from testmodel.py, exit status != 0: ['time', 'cuboidRight.port_p.reference.gamma'] 11.172838359605521 11.196781352 10.86230527 Calling exit ...