Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 51.94 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 53.33 MB / 427 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005678/0.1102, allocations: 4.206 MB / 431.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2059/0.3161, allocations: 1.729 MB / 433 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.3163, allocations: 10.84 kB / 433 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.3184, allocations: 1.021 MB / 434 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.3189, allocations: 239.3 kB / 434.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3201, allocations: 0.7736 MB / 435 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.3206, allocations: 0.6118 MB / 435.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005517/0.3211, allocations: 374 kB / 436 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.3215, allocations: 270.5 kB / 436.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.3218, allocations: 331.7 kB / 436.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.3219, allocations: 53.16 kB / 436.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.3224, allocations: 297 kB / 436.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.3225, allocations: 133.2 kB / 437 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.3227, allocations: 309.2 kB / 437.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3238, allocations: 0.9389 MB / 438.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3238, allocations: 0 / 438.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3238, allocations: 4 kB / 438.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.3238, allocations: 3.938 kB / 438.3 MB, free: 6.449 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.003429/0.3272, allocations: 1.239 MB / 439.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3273, allocations: 13.22 kB / 439.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.242e-05/0.3273, allocations: 18.84 kB / 439.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.3274, allocations: 111.6 kB / 439.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.3286, allocations: 182 kB / 439.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3288, allocations: 237.2 kB / 440.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.522e-05/0.3288, allocations: 48.72 kB / 440.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3289, allocations: 72.64 kB / 440.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3302, allocations: 0.71 MB / 440.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.3302, allocations: 1.922 kB / 440.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.3303, allocations: 28.48 kB / 440.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.3303, allocations: 15.72 kB / 440.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.3315, allocations: 0.6018 MB / 441.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.3348, allocations: 2.322 MB / 443.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.3361, allocations: 1.573 MB / 445.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.3366, allocations: 244.2 kB / 445.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.3368, allocations: 182.6 kB / 445.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3368, allocations: 42.77 kB / 445.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.3368, allocations: 4 kB / 445.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001548/0.3383, allocations: 0.7035 MB / 446.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3384, allocations: 111 kB / 446.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3387, allocations: 261.8 kB / 447 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.3387, allocations: 42.28 kB / 447 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3388, allocations: 272 kB / 447.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.3389, allocations: 230.1 kB / 447.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.3391, allocations: 119.8 kB / 447.6 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.3392, allocations: 350 kB / 448 MB, free: 116 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.3396, allocations: 212.8 kB / 448.2 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.3403, allocations: 314.1 kB / 448.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3413, allocations: 0.5116 MB / 449 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3413, allocations: 1.188 kB / 449 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001326/0.3427, allocations: 0.6329 MB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3427, allocations: 5.844 kB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3427, allocations: 3.672 kB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3427, allocations: 8.25 kB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.3434, allocations: 156.3 kB / 449.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3434, allocations: 5.781 kB / 449.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.3439, allocations: 81.22 kB / 449.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.344, allocations: 21.62 kB / 449.9 MB, free: 15.32 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.0002587/0.3442, allocations: 189 kB / 450.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3443, allocations: 41.48 kB / 450.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.3458, allocations: 0.6082 MB / 450.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3458, allocations: 7.625 kB / 450.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3458, allocations: 1.031 kB / 450.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3458, allocations: 3.422 kB / 450.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3481, allocations: 1.291 MB / 452 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3481, allocations: 5.469 kB / 452 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.3487, allocations: 128.3 kB / 452.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3487, allocations: 2.344 kB / 452.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.3488, allocations: 19.73 kB / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3488, allocations: 5.25 kB / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3488, allocations: 1.188 kB / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3506, allocations: 0.979 MB / 453.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3507, allocations: 123.8 kB / 453.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.3508, allocations: 16.62 kB / 453.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.3512, allocations: 26.98 kB / 453.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3513, allocations: 43.3 kB / 453.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.3513, allocations: 17.88 kB / 453.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.3515, allocations: 200.2 kB / 453.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3515, allocations: 0 / 453.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006348/0.3522, allocations: 184.9 kB / 453.8 MB, free: 13.29 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.002202/0.3544, allocations: 1.562 MB / 455.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3555, allocations: 0.5055 MB / 455.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3555, allocations: 1.406 kB / 455.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.356, allocations: 245.5 kB / 456.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.3566, allocations: 45.05 kB / 456.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.3635, allocations: 4.217 MB / 460.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.364, allocations: 0.8442 MB / 461.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.3643, allocations: 83.14 kB / 461.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.3646, allocations: 191.2 kB / 461.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3646, allocations: 0 / 461.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.3995, allocations: 9.552 MB / 471 MB, free: 4.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/8.922, allocations: 4.062 kB / 471 MB, free: 4.035 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.385970908042509]