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.001355/0.001355, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001428/0.001428, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.462/1.462, 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.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.001884/0.001884, allocations: 67.88 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1115, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005829/0.1173, allocations: 4.217 MB / 431.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2212/0.3386, allocations: 1.724 MB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.3388, allocations: 14 kB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.3409, allocations: 1.016 MB / 433.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.3414, allocations: 247.6 kB / 434.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3427, allocations: 0.7689 MB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.3432, allocations: 0.6142 MB / 435.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.3438, allocations: 373.1 kB / 435.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.3441, allocations: 261.5 kB / 436.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.3444, allocations: 329 kB / 436.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.3445, allocations: 53.19 kB / 436.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.345, allocations: 297.2 kB / 436.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.3451, allocations: 134.5 kB / 436.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.3453, allocations: 306.8 kB / 437.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.3464, allocations: 0.9441 MB / 438.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3464, allocations: 0.7969 kB / 438.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3464, allocations: 1.25 kB / 438.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3464, allocations: 0 / 438.1 MB, free: 6.508 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.003355/0.3498, allocations: 1.243 MB / 439.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3498, allocations: 14.59 kB / 439.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.3499, allocations: 111.6 kB / 439.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.3511, allocations: 178.9 kB / 439.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.3513, allocations: 237.9 kB / 439.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.3513, allocations: 53.75 kB / 440 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3514, allocations: 68.36 kB / 440 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3526, allocations: 0.7063 MB / 440.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3526, allocations: 1.797 kB / 440.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.3527, allocations: 25.5 kB / 440.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3527, allocations: 18.08 kB / 440.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3538, allocations: 0.6124 MB / 441.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.3569, allocations: 2.307 MB / 443.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.3582, allocations: 1.575 MB / 445.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.3587, allocations: 247.1 kB / 445.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.3588, allocations: 185.1 kB / 445.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3589, allocations: 43.22 kB / 445.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.285e-06/0.3589, allocations: 6.938 kB / 445.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001412/0.3603, allocations: 0.7029 MB / 446.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3603, allocations: 115.2 kB / 446.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.3606, allocations: 269.5 kB / 446.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3606, allocations: 35.98 kB / 446.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3607, allocations: 268.4 kB / 447.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.3609, allocations: 236.9 kB / 447.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.361, allocations: 117.7 kB / 447.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.3611, allocations: 350.3 kB / 447.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.3615, allocations: 207.4 kB / 448 MB, free: 92 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.362, allocations: 304 kB / 448.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.363, allocations: 0.5159 MB / 448.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.363, allocations: 1.469 kB / 448.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00121/0.3642, allocations: 0.6309 MB / 449.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3642, allocations: 5.656 kB / 449.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3642, allocations: 1.281 kB / 449.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3643, allocations: 4.812 kB / 449.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.3649, allocations: 161.6 kB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.365, allocations: 8.031 kB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.3654, allocations: 76.28 kB / 449.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.3655, allocations: 24.67 kB / 449.7 MB, free: 15.34 MB / 366.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.000282/0.3658, allocations: 190.7 kB / 449.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3659, allocations: 43.23 kB / 450 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.3672, allocations: 0.5987 MB / 450.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3672, allocations: 10.5 kB / 450.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3672, allocations: 0 / 450.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3672, allocations: 4.688 kB / 450.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.3695, allocations: 1.295 MB / 451.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3695, allocations: 0 / 451.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.37, allocations: 129.5 kB / 452 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.37, allocations: 2.375 kB / 452 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.3701, allocations: 23.06 kB / 452 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3701, allocations: 3.062 kB / 452 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3701, allocations: 4.453 kB / 452 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.3717, allocations: 0.9752 MB / 453 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3719, allocations: 124.1 kB / 453.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.3719, allocations: 16.69 kB / 453.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.3723, allocations: 30.75 kB / 453.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.3724, allocations: 39.2 kB / 453.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.3725, allocations: 18.7 kB / 453.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3727, allocations: 196 kB / 453.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 453.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006385/0.3733, allocations: 187.2 kB / 453.6 MB, free: 13.3 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.002083/0.3754, allocations: 1.564 MB / 455.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3766, allocations: 0.5047 MB / 455.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3766, allocations: 1.094 kB / 455.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.3771, allocations: 249.4 kB / 455.9 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.3776, allocations: 47.8 kB / 456 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.3844, allocations: 4.208 MB / 460.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.3849, allocations: 0.8427 MB / 461 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.3853, allocations: 78.39 kB / 461.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.3856, allocations: 191.7 kB / 461.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3856, allocations: 0 / 461.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/0.4301, allocations: 9.518 MB / 470.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.798, allocations: 20.27 kB / 470.8 MB, free: 4.125 MB / 366.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.131501520983875] Failed to read output from testmodel.py, exit status != 0: ['time', 'hollowCylinderAxialOuter.port_p.reference.gamma'] 8.871064011007547 8.884687199 8.535492446 Calling exit ...