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.001589/0.001589, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001787/0.001787, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.001715/0.001715, allocations: 55.91 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2697, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005589/0.2753, allocations: 4.222 MB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.2784, allocations: 1.752 MB / 437.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000396/0.2788, allocations: 12 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.2814, allocations: 1.018 MB / 438.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009218/0.2824, allocations: 250.2 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.2842, allocations: 0.7658 MB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009869/0.2852, allocations: 0.6027 MB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000912/0.2861, allocations: 455.1 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.2866, allocations: 267.1 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.2872, allocations: 330.7 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.2874, allocations: 52 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.2882, allocations: 291.7 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2883, allocations: 135.5 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.2887, allocations: 310.5 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.2908, allocations: 0.939 MB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2908, allocations: 0 / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2908, allocations: 0 / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.2909, allocations: 4 kB / 443.3 MB, free: 11.46 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.004584/0.2954, allocations: 1.164 MB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2955, allocations: 8.031 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.051e-05/0.2955, allocations: 26.19 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.2957, allocations: 114.6 kB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.297, allocations: 180.4 kB / 444.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.2973, allocations: 174.5 kB / 444.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.2974, allocations: 58.31 kB / 445 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.2975, allocations: 64.33 kB / 445.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.299, allocations: 0.7113 MB / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.299, allocations: 0 / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/0.2991, allocations: 28 kB / 445.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.2991, allocations: 16 kB / 445.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3004, allocations: 0.6101 MB / 446.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.3048, allocations: 2.244 MB / 448.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.3063, allocations: 0.6731 MB / 449.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.3068, allocations: 250.2 kB / 449.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.307, allocations: 32.61 kB / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.307, allocations: 39.22 kB / 449.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.307, allocations: 0 / 449.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001653/0.3087, allocations: 0.7124 MB / 450.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3088, allocations: 107.5 kB / 450.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.3092, allocations: 268.8 kB / 450.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.3092, allocations: 37.7 kB / 450.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.3095, allocations: 272.8 kB / 451 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3097, allocations: 238 kB / 451.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.3099, allocations: 118.6 kB / 451.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3101, allocations: 346.7 kB / 451.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.3106, allocations: 209.9 kB / 451.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.3112, allocations: 305.3 kB / 452.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3122, allocations: 0.5146 MB / 452.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3122, allocations: 0 / 452.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001376/0.3136, allocations: 0.6375 MB / 453.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3136, allocations: 8 kB / 453.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3137, allocations: 0 / 453.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3137, allocations: 4 kB / 453.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.3144, allocations: 155.8 kB / 453.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.3144, allocations: 11.98 kB / 453.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.3149, allocations: 71.75 kB / 453.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.315, allocations: 27.98 kB / 453.7 MB, free: 0.7422 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.0002904/0.3152, allocations: 189.6 kB / 453.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3154, allocations: 35.77 kB / 453.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.3167, allocations: 0.6107 MB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.3168, allocations: 8 kB / 454.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3168, allocations: 0 / 454.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.3168, allocations: 7.922 kB / 454.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.3195, allocations: 1.268 MB / 455.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3195, allocations: 0 / 455.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.3201, allocations: 131.8 kB / 455.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.3201, allocations: 7.938 kB / 455.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/0.3201, allocations: 19.92 kB / 455.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.3201, allocations: 4 kB / 455.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3201, allocations: 0 / 455.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.3221, allocations: 0.9785 MB / 456.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3222, allocations: 47.66 kB / 457 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.3223, allocations: 19.88 kB / 457 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3227, allocations: 27.97 kB / 457 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3228, allocations: 40.58 kB / 457 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.3228, allocations: 20.05 kB / 457.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.323, allocations: 192.5 kB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.323, allocations: 0 / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006418/0.3237, allocations: 187.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.002398/0.3261, allocations: 1.566 MB / 459 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.3273, allocations: 0.5016 MB / 459.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3273, allocations: 8.062 kB / 459.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.3279, allocations: 247.6 kB / 459.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.3286, allocations: 48.41 kB / 459.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.3363, allocations: 4.199 MB / 464 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.3369, allocations: 0.8537 MB / 464.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003693/0.3373, allocations: 79.34 kB / 464.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.3376, allocations: 191.4 kB / 465.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3376, allocations: 0 / 465.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4362/0.7738, allocations: 9.997 MB / 475.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.66, allocations: 22.22 kB / 475.1 MB, free: 11.2 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.724210655025672]