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.001297/0.001297, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00146/0.00146, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001489/0.001489, allocations: 47.86 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2732, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006074/0.2793, allocations: 3.802 MB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.2827, allocations: 1.623 MB / 436.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.283, allocations: 12 kB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.2856, allocations: 0.9356 MB / 437.5 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.2863, allocations: 250.2 kB / 437.7 MB, free: 12 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.2882, allocations: 0.7231 MB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007722/0.2889, allocations: 0.6027 MB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.2897, allocations: 438.8 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.2901, allocations: 271 kB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.2906, allocations: 330.7 kB / 440 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.2907, allocations: 59.94 kB / 440.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.2912, allocations: 295.7 kB / 440.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2914, allocations: 127.5 kB / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.2916, allocations: 250.8 kB / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2929, allocations: 0.9505 MB / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2929, allocations: 0 / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2929, allocations: 0 / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2929, allocations: 0 / 441.7 MB, free: 11.99 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.003826/0.2967, allocations: 1.161 MB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.2968, allocations: 12.03 kB / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.297, allocations: 114.6 kB / 443 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.2982, allocations: 180.4 kB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.2985, allocations: 182.5 kB / 443.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.2985, allocations: 50.38 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.2987, allocations: 68.33 kB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3, allocations: 0.7287 MB / 444.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3, allocations: 11.94 kB / 444.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.3001, allocations: 28 kB / 444.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.3001, allocations: 16 kB / 444.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3014, allocations: 0.6022 MB / 444.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.3049, allocations: 1.856 MB / 446.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.3063, allocations: 0.6734 MB / 447.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.3068, allocations: 246.1 kB / 447.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.3069, allocations: 24.64 kB / 447.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.307, allocations: 47.2 kB / 447.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.545e-06/0.307, allocations: 0 / 447.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001697/0.3087, allocations: 0.7125 MB / 448.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.3088, allocations: 115.5 kB / 448.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.3091, allocations: 268.7 kB / 448.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.3091, allocations: 33.7 kB / 448.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.3094, allocations: 272.7 kB / 449.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3096, allocations: 230 kB / 449.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.3098, allocations: 126.7 kB / 449.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.31, allocations: 350.7 kB / 449.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.3105, allocations: 217.8 kB / 450 MB, free: 3.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.311, allocations: 323.1 kB / 450.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3121, allocations: 0.5224 MB / 450.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3121, allocations: 0 / 450.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00127/0.3133, allocations: 0.6338 MB / 451.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3134, allocations: 4 kB / 451.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3134, allocations: 7.984 kB / 451.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3134, allocations: 4 kB / 451.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.3141, allocations: 155.8 kB / 451.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3141, allocations: 4 kB / 451.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.3146, allocations: 79.58 kB / 451.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.3147, allocations: 24 kB / 451.7 MB, free: 1.668 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.0002795/0.315, allocations: 193.6 kB / 451.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3151, allocations: 39.77 kB / 452 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.3164, allocations: 0.5951 MB / 452.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.3164, allocations: 8 kB / 452.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3164, allocations: 0 / 452.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3164, allocations: 7.984 kB / 452.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.3187, allocations: 1.186 MB / 453.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3187, allocations: 4 kB / 453.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.3193, allocations: 127.8 kB / 453.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3193, allocations: 4 kB / 453.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.3194, allocations: 15.94 kB / 453.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3194, allocations: 7.938 kB / 453.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3194, allocations: 4 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.3211, allocations: 0.9823 MB / 454.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.3212, allocations: 51.61 kB / 454.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.3212, allocations: 23.92 kB / 455 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.3216, allocations: 32.05 kB / 455 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3218, allocations: 48.55 kB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.3218, allocations: 16 kB / 455.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.322, allocations: 192.5 kB / 455.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.322, allocations: 0 / 455.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006494/0.3227, allocations: 175.7 kB / 455.4 MB, free: 13.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.002226/0.3249, allocations: 1.581 MB / 457 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.326, allocations: 0.5013 MB / 457.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.326, allocations: 0 / 457.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.3265, allocations: 256 kB / 457.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.3271, allocations: 46.48 kB / 457.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.3339, allocations: 4.195 MB / 462 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3342, allocations: 237.1 kB / 462.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.3345, allocations: 79.41 kB / 462.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.3349, allocations: 191.3 kB / 462.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3349, allocations: 0 / 462.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.3812, allocations: 10.48 MB / 473 MB, free: 12.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.36, allocations: 9.672 kB / 473 MB, free: 12.36 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.726638452004408]