Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001329/0.001329, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001474/0.001474, allocations: 216.6 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2698, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006593/0.2764, allocations: 4.217 MB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.2797, allocations: 1.755 MB / 437.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.2801, allocations: 12 kB / 437.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.2828, allocations: 1.023 MB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008234/0.2837, allocations: 238.2 kB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.2854, allocations: 0.7702 MB / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.2863, allocations: 0.6066 MB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.2871, allocations: 440.5 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.2876, allocations: 270.9 kB / 440.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.2882, allocations: 334.7 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.2883, allocations: 52 kB / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007135/0.289, allocations: 303.7 kB / 441.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2892, allocations: 131.5 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.2896, allocations: 310.5 kB / 441.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.291, allocations: 0.9451 MB / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.291, allocations: 3.938 kB / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.291, allocations: 0 / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.2911, allocations: 0 / 442.6 MB, free: 11.29 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.003838/0.2949, allocations: 1.161 MB / 443.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.295, allocations: 12.03 kB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.2951, allocations: 106.7 kB / 443.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.2963, allocations: 184.4 kB / 444 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.2965, allocations: 182.4 kB / 444.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/0.2966, allocations: 54.38 kB / 444.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.2967, allocations: 68.33 kB / 444.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.298, allocations: 0.7075 MB / 445 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.298, allocations: 3.938 kB / 445 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.2981, allocations: 28 kB / 445.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.2981, allocations: 20 kB / 445.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.2993, allocations: 0.6062 MB / 445.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.3029, allocations: 2.233 MB / 447.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.3043, allocations: 0.6692 MB / 448.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.3048, allocations: 251.2 kB / 448.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.3049, allocations: 32.62 kB / 448.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.3049, allocations: 39.25 kB / 448.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.305, allocations: 0 / 448.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001627/0.3066, allocations: 0.7086 MB / 449.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.3067, allocations: 119.3 kB / 449.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.307, allocations: 264.8 kB / 450 MB, free: 3.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.307, allocations: 37.7 kB / 450 MB, free: 3.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.3073, allocations: 264.7 kB / 450.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.3075, allocations: 241.9 kB / 450.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.3077, allocations: 118.6 kB / 450.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3079, allocations: 350.8 kB / 451 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.3083, allocations: 209.9 kB / 451.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.3089, allocations: 301.4 kB / 451.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3099, allocations: 0.5224 MB / 452 MB, free: 1.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3099, allocations: 0 / 452 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001226/0.3111, allocations: 0.6298 MB / 452.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3111, allocations: 4.188 kB / 452.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3111, allocations: 4 kB / 452.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3112, allocations: 8 kB / 452.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.3119, allocations: 159.8 kB / 452.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3119, allocations: 7.938 kB / 452.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.3123, allocations: 67.56 kB / 452.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.3123, allocations: 31.97 kB / 452.9 MB, free: 0.6055 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.0002406/0.3126, allocations: 197.5 kB / 453.1 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.3127, allocations: 39.77 kB / 453.1 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.314, allocations: 0.599 MB / 453.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.314, allocations: 7.984 kB / 453.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.314, allocations: 4 kB / 453.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.314, allocations: 7.984 kB / 453.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.3163, allocations: 1.268 MB / 455 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3163, allocations: 0 / 455 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/0.3169, allocations: 127.9 kB / 455.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3169, allocations: 0 / 455.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.3169, allocations: 23.92 kB / 455.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3169, allocations: 0 / 455.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3169, allocations: 4 kB / 455.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3186, allocations: 0.9823 MB / 456.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.3187, allocations: 47.73 kB / 456.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.3187, allocations: 15.94 kB / 456.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.3191, allocations: 27.97 kB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3192, allocations: 44.52 kB / 456.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.3192, allocations: 19.98 kB / 456.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.3195, allocations: 196.5 kB / 456.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 456.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005653/0.32, allocations: 183.5 kB / 456.7 MB, free: 12.75 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.00211/0.3221, allocations: 1.566 MB / 458.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3232, allocations: 0.5052 MB / 458.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3232, allocations: 0 / 458.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.3237, allocations: 255.9 kB / 459 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3242, allocations: 56.3 kB / 459.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.3306, allocations: 4.19 MB / 463.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.3311, allocations: 0.8497 MB / 464.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.3314, allocations: 75.41 kB / 464.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.3317, allocations: 195.3 kB / 464.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3317, allocations: 0 / 464.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.3753, allocations: 9.98 MB / 474.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.09, allocations: 8.688 kB / 474.3 MB, free: 11.04 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.45049818395637]