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.CylinderSections.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.001321/0.001321, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001496/0.001496, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.CylinderSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001992/0.001992, allocations: 72.75 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00595/0.3287, allocations: 4.222 MB / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.3321, allocations: 1.755 MB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.3324, allocations: 12 kB / 437.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.3348, allocations: 1.021 MB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.3356, allocations: 250.2 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.3372, allocations: 0.7625 MB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007026/0.3379, allocations: 0.6066 MB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.3386, allocations: 444.6 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.3391, allocations: 278.9 kB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.3396, allocations: 326.7 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.3397, allocations: 56 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006545/0.3403, allocations: 291.8 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3404, allocations: 131.5 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.3408, allocations: 310.5 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.342, allocations: 0.9414 MB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.342, allocations: 0 / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.342, allocations: 0 / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.342, allocations: 0 / 443.3 MB, free: 11.45 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003559/0.3455, allocations: 1.175 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3456, allocations: 8.031 kB / 444.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.3457, allocations: 110.7 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.3469, allocations: 184.4 kB / 444.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3471, allocations: 182.4 kB / 444.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.3472, allocations: 50.38 kB / 445 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3473, allocations: 68.33 kB / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3486, allocations: 0.7075 MB / 445.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.3487, allocations: 0 / 445.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.3487, allocations: 28 kB / 445.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.3488, allocations: 19.98 kB / 445.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.35, allocations: 0.6023 MB / 446.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.3535, allocations: 2.233 MB / 448.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.3548, allocations: 0.6803 MB / 449.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.3553, allocations: 247.6 kB / 449.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.3555, allocations: 28.61 kB / 449.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3555, allocations: 43.22 kB / 449.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.643e-06/0.3555, allocations: 0 / 449.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00154/0.357, allocations: 0.7123 MB / 450.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.3571, allocations: 111.5 kB / 450.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.3575, allocations: 260.8 kB / 450.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.3575, allocations: 37.69 kB / 450.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.3577, allocations: 268.7 kB / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.3579, allocations: 233.9 kB / 451.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.3581, allocations: 122.6 kB / 451.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3582, allocations: 354.9 kB / 451.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.3587, allocations: 217.8 kB / 451.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.3592, allocations: 297.4 kB / 452.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.3602, allocations: 0.5224 MB / 452.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3602, allocations: 0 / 452.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001252/0.3615, allocations: 0.6338 MB / 453.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3615, allocations: 10.66 kB / 453.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3615, allocations: 4 kB / 453.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3615, allocations: 4 kB / 453.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.3622, allocations: 155.8 kB / 453.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3622, allocations: 7.984 kB / 453.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3627, allocations: 75.55 kB / 453.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.3627, allocations: 23.98 kB / 453.6 MB, free: 0.7578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.363, allocations: 197.6 kB / 453.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3631, allocations: 39.75 kB / 453.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.3643, allocations: 0.5951 MB / 454.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.3644, allocations: 11.98 kB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3644, allocations: 0 / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3644, allocations: 3.984 kB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.3666, allocations: 1.28 MB / 455.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3666, allocations: 0 / 455.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.3671, allocations: 127.8 kB / 455.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3671, allocations: 4 kB / 455.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.3672, allocations: 19.92 kB / 455.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3672, allocations: 8 kB / 455.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3672, allocations: 0 / 455.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3688, allocations: 0.9784 MB / 456.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.3689, allocations: 51.66 kB / 456.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.369, allocations: 11.94 kB / 457 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.3694, allocations: 35.91 kB / 457 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.3694, allocations: 36.58 kB / 457 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.3695, allocations: 20 kB / 457 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3697, allocations: 192.5 kB / 457.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3697, allocations: 0 / 457.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.3703, allocations: 191.6 kB / 457.4 MB, free: 12.89 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002116/0.3724, allocations: 1.566 MB / 459 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3735, allocations: 0.5013 MB / 459.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3735, allocations: 0 / 459.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.374, allocations: 252 kB / 459.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.3746, allocations: 54.17 kB / 459.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006641/0.3812, allocations: 4.206 MB / 464 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.3817, allocations: 0.8497 MB / 464.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.3821, allocations: 75.41 kB / 464.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.3824, allocations: 187.4 kB / 465.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3824, allocations: 0 / 465.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05412/0.4365, allocations: 9.862 MB / 475 MB, free: 11.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/9.167, allocations: 11.94 kB / 475 MB, free: 11.32 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_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_CylinderSections.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.556797377765179] Failed to read output from testmodel.py, exit status != 0: ['time', 'hollowCylinderAxialOuter.port_p.reference.gamma'] 9.245846241246909 9.26320257 8.917851344 Calling exit ...