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.00126/0.00126, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001303/0.001303, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.442/1.442, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001739/0.001739, allocations: 67.89 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09612, allocations: 53.33 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005583/0.1017, allocations: 4.209 MB / 430.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1808/0.2825, allocations: 1.726 MB / 432.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.2827, allocations: 11.38 kB / 432.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.2846, allocations: 1.02 MB / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.2851, allocations: 242.6 kB / 433.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.2864, allocations: 0.765 MB / 434.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.2869, allocations: 0.6069 MB / 435.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.2874, allocations: 379 kB / 435.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2877, allocations: 266 kB / 435.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.288, allocations: 335.6 kB / 436.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.2881, allocations: 54 kB / 436.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.2886, allocations: 292.7 kB / 436.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.2887, allocations: 134 kB / 436.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.2889, allocations: 308.8 kB / 437 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.29, allocations: 0.9482 MB / 437.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.29, allocations: 1.328 kB / 437.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.29, allocations: 0 / 437.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.29, allocations: 5.125 kB / 437.9 MB, free: 6.566 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.00337/0.2934, allocations: 1.236 MB / 439.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2934, allocations: 9.531 kB / 439.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.2935, allocations: 112.8 kB / 439.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.2948, allocations: 179.9 kB / 439.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.2949, allocations: 240.5 kB / 439.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.295, allocations: 54.25 kB / 439.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/0.2951, allocations: 67.8 kB / 439.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.2962, allocations: 0.7143 MB / 440.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2963, allocations: 0 / 440.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.2963, allocations: 26.19 kB / 440.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2963, allocations: 16.69 kB / 440.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.2975, allocations: 0.6055 MB / 441.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.3006, allocations: 2.315 MB / 443.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3018, allocations: 1.568 MB / 445.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.3023, allocations: 251.1 kB / 445.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.3024, allocations: 182.7 kB / 445.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3024, allocations: 43.47 kB / 445.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.983e-06/0.3025, allocations: 0 / 445.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.0014/0.3039, allocations: 0.7077 MB / 446.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3039, allocations: 111 kB / 446.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3042, allocations: 266.3 kB / 446.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3042, allocations: 35.14 kB / 446.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3043, allocations: 269.8 kB / 446.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3045, allocations: 233 kB / 447.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.3046, allocations: 126.5 kB / 447.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.3047, allocations: 346 kB / 447.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.3051, allocations: 210.3 kB / 447.8 MB, free: 156 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.3056, allocations: 309.6 kB / 448.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.3066, allocations: 0.5109 MB / 448.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3066, allocations: 1.375 kB / 448.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0012/0.3078, allocations: 0.6314 MB / 449.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3078, allocations: 9.094 kB / 449.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3078, allocations: 2.5 kB / 449.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3078, allocations: 4.031 kB / 449.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.3085, allocations: 157.3 kB / 449.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3085, allocations: 6.516 kB / 449.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.3089, allocations: 82.41 kB / 449.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.309, allocations: 28.83 kB / 449.5 MB, free: 15.4 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.0002278/0.3092, allocations: 186.7 kB / 449.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3093, allocations: 38.02 kB / 449.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.3105, allocations: 0.6071 MB / 450.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3105, allocations: 5.938 kB / 450.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3106, allocations: 5.344 kB / 450.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3106, allocations: 3.703 kB / 450.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.3128, allocations: 1.292 MB / 451.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3128, allocations: 0 / 451.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.3134, allocations: 130.8 kB / 451.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3134, allocations: 6.312 kB / 451.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3134, allocations: 18.78 kB / 451.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3134, allocations: 4.391 kB / 451.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3134, allocations: 0 / 451.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.315, allocations: 0.9762 MB / 452.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3151, allocations: 127 kB / 452.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.3152, allocations: 16.03 kB / 452.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.3155, allocations: 27.42 kB / 453 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.3156, allocations: 39.44 kB / 453 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.3157, allocations: 22.17 kB / 453 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3159, allocations: 196.7 kB / 453.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 4 kB / 453.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005705/0.3164, allocations: 183.5 kB / 453.4 MB, free: 13.37 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.002042/0.3185, allocations: 1.565 MB / 455 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3195, allocations: 0.5021 MB / 455.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3195, allocations: 384 / 455.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.32, allocations: 249.9 kB / 455.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3205, allocations: 50.28 kB / 455.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.3268, allocations: 4.206 MB / 460 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3272, allocations: 0.8471 MB / 460.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.3276, allocations: 76.75 kB / 460.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.3278, allocations: 191.8 kB / 461.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3278, allocations: 4 kB / 461.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.804/4.132, allocations: 9.49 MB / 470.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/16.76, allocations: 10.8 kB / 470.6 MB, free: 4.172 MB / 366.1 MB " [Timeout remaining time 643] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.68767142156139]