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.002042/0.002042, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002418/0.002418, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.08 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 55.91 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005985/0.1108, allocations: 4.217 MB / 430.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.2966, allocations: 1.722 MB / 432.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.2968, allocations: 11.56 kB / 432.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.299, allocations: 1.021 MB / 433.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.2994, allocations: 244.6 kB / 433.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3007, allocations: 0.7707 MB / 434.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.3012, allocations: 0.6078 MB / 434.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.3018, allocations: 376.4 kB / 435.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.3021, allocations: 269.1 kB / 435.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.3025, allocations: 336.4 kB / 435.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.669e-05/0.3026, allocations: 53.78 kB / 435.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.3031, allocations: 300.8 kB / 436.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.3032, allocations: 128.1 kB / 436.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.3034, allocations: 305.7 kB / 436.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3046, allocations: 0.9399 MB / 437.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3046, allocations: 0 / 437.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3046, allocations: 1.438 kB / 437.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3046, allocations: 0 / 437.6 MB, free: 6.484 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.003591/0.3082, allocations: 1.242 MB / 438.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3082, allocations: 9.547 kB / 438.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.3084, allocations: 112.1 kB / 438.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.3096, allocations: 178.2 kB / 439.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3098, allocations: 249.4 kB / 439.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.3099, allocations: 48.22 kB / 439.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.31, allocations: 69.34 kB / 439.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3113, allocations: 0.7073 MB / 440.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3113, allocations: 0.9375 kB / 440.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.3114, allocations: 30.41 kB / 440.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.3114, allocations: 20.31 kB / 440.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3126, allocations: 0.6054 MB / 440.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.316, allocations: 2.309 MB / 443.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.3173, allocations: 1.579 MB / 444.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.3178, allocations: 240.4 kB / 445 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.318, allocations: 190.7 kB / 445.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.318, allocations: 39.88 kB / 445.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.318, allocations: 0 / 445.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00158/0.3196, allocations: 0.7076 MB / 445.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3196, allocations: 110.1 kB / 446 MB, free: 1.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.3199, allocations: 267.2 kB / 446.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.32, allocations: 36.64 kB / 446.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3201, allocations: 265.6 kB / 446.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3202, allocations: 233.7 kB / 446.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.3204, allocations: 124.4 kB / 446.9 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.3205, allocations: 354.4 kB / 447.3 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.3211, allocations: 209.2 kB / 447.5 MB, free: 72 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.3216, allocations: 299.5 kB / 447.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3227, allocations: 0.5152 MB / 448.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3227, allocations: 0 / 448.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001297/0.324, allocations: 0.6315 MB / 448.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.324, allocations: 6.906 kB / 448.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.324, allocations: 5.5 kB / 448.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3241, allocations: 4.281 kB / 448.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.3248, allocations: 163.1 kB / 449.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3248, allocations: 5.094 kB / 449.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.3253, allocations: 73.44 kB / 449.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.3254, allocations: 27.11 kB / 449.2 MB, free: 15.33 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.0002837/0.3256, allocations: 191.6 kB / 449.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3258, allocations: 43.42 kB / 449.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.3272, allocations: 0.5976 MB / 450 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3272, allocations: 6.156 kB / 450 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3272, allocations: 2.109 kB / 450 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3273, allocations: 3.328 kB / 450 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.3298, allocations: 1.302 MB / 451.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3298, allocations: 2.125 kB / 451.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.3304, allocations: 127.5 kB / 451.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.3304, allocations: 2.719 kB / 451.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.3304, allocations: 23.08 kB / 451.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3304, allocations: 3.422 kB / 451.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3304, allocations: 5.344 kB / 451.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3322, allocations: 0.9726 MB / 452.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3324, allocations: 128.6 kB / 452.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.3324, allocations: 15.44 kB / 452.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.3328, allocations: 26 kB / 452.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3329, allocations: 45.08 kB / 452.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.333, allocations: 21.14 kB / 452.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.3332, allocations: 190.6 kB / 452.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3332, allocations: 1.375 kB / 452.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007063/0.3339, allocations: 182.9 kB / 453 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.002285/0.3362, allocations: 1.571 MB / 454.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3374, allocations: 0.4966 MB / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3374, allocations: 1.344 kB / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.3379, allocations: 256.6 kB / 455.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.3385, allocations: 40.31 kB / 455.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/0.3456, allocations: 4.207 MB / 459.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.3462, allocations: 0.8447 MB / 460.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000338/0.3465, allocations: 78.47 kB / 460.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.3468, allocations: 185.7 kB / 460.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3468, allocations: 0 / 460.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.3842, allocations: 9.52 MB / 470.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.08, allocations: 13.83 kB / 470.2 MB, free: 4.062 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.547786426031962]