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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 118.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2729, allocations: 50.56 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005919/0.2788, allocations: 4.187 MB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.282, allocations: 1.724 MB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.2823, allocations: 12 kB / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.2848, allocations: 1.011 MB / 415.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007234/0.2855, allocations: 234.2 kB / 416 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.2871, allocations: 0.7701 MB / 416.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.2878, allocations: 0.6027 MB / 417.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007671/0.2886, allocations: 495.4 kB / 417.9 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.289, allocations: 267 kB / 418.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.2894, allocations: 338.6 kB / 418.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.2895, allocations: 56 kB / 418.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.2901, allocations: 291.7 kB / 418.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2902, allocations: 131.5 kB / 418.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.2905, allocations: 302.5 kB / 419.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2916, allocations: 0.9485 MB / 420.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.2916, allocations: 3.984 kB / 420.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2916, allocations: 4 kB / 420.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2917, allocations: 0 / 420.2 MB, free: 6.098 MB / 334.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.003739/0.2954, allocations: 1.228 MB / 421.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.2955, allocations: 16.03 kB / 421.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.2957, allocations: 110.7 kB / 421.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.2969, allocations: 180.4 kB / 421.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.2972, allocations: 236.3 kB / 421.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.2973, allocations: 50.38 kB / 422 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.2974, allocations: 76.31 kB / 422 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.2987, allocations: 0.7113 MB / 422.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.2988, allocations: 0 / 422.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.2988, allocations: 28 kB / 422.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.2989, allocations: 16 kB / 422.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3001, allocations: 0.6062 MB / 423.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.3039, allocations: 2.333 MB / 425.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3058, allocations: 1.617 MB / 427.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.3063, allocations: 283.3 kB / 427.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.3066, allocations: 182.8 kB / 427.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.3066, allocations: 39.11 kB / 427.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.735e-06/0.3066, allocations: 0 / 427.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001655/0.3083, allocations: 0.7095 MB / 428.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.3084, allocations: 111.4 kB / 428.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.3087, allocations: 264.9 kB / 428.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.3088, allocations: 37.7 kB / 429 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.309, allocations: 264.7 kB / 429.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.3092, allocations: 242.1 kB / 429.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.3094, allocations: 122.6 kB / 429.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3096, allocations: 346.8 kB / 429.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.3101, allocations: 209.9 kB / 430.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.3106, allocations: 309.3 kB / 430.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3117, allocations: 0.5104 MB / 430.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3117, allocations: 0 / 430.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001321/0.313, allocations: 0.6338 MB / 431.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3131, allocations: 4 kB / 431.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3131, allocations: 0 / 431.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3131, allocations: 8 kB / 431.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.3138, allocations: 163.7 kB / 431.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3138, allocations: 4 kB / 431.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.3143, allocations: 71.55 kB / 431.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.3144, allocations: 32 kB / 431.8 MB, free: 9.758 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.0002842/0.3147, allocations: 193.6 kB / 432 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3148, allocations: 43.77 kB / 432.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.3162, allocations: 0.6006 MB / 432.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3162, allocations: 8 kB / 432.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3162, allocations: 4 kB / 432.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3162, allocations: 3.984 kB / 432.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.3185, allocations: 1.294 MB / 434 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3185, allocations: 0 / 434 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.319, allocations: 131.8 kB / 434.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.3191, allocations: 4 kB / 434.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.3191, allocations: 27.86 kB / 434.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3191, allocations: 0 / 434.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3191, allocations: 0 / 434.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.3209, allocations: 0.9716 MB / 435.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.321, allocations: 124.8 kB / 435.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.3211, allocations: 15.94 kB / 435.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.3215, allocations: 27.97 kB / 435.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.3216, allocations: 40.52 kB / 435.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.3216, allocations: 19.98 kB / 435.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3219, allocations: 192.5 kB / 435.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3219, allocations: 7.938 kB / 435.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006273/0.3225, allocations: 183.5 kB / 435.7 MB, free: 5.777 MB / 350.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.002224/0.3247, allocations: 1.562 MB / 437.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3259, allocations: 0.5315 MB / 437.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3259, allocations: 8.062 kB / 437.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.3265, allocations: 275.1 kB / 438.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.327, allocations: 47.42 kB / 438.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.3339, allocations: 4.195 MB / 442.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.3344, allocations: 0.8421 MB / 443.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.3348, allocations: 75.41 kB / 443.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.3351, allocations: 195.3 kB / 443.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.495e-06/0.3351, allocations: 0 / 443.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.3708, allocations: 9.256 MB / 452.7 MB, free: 4.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/8.987, allocations: 7.922 kB / 452.7 MB, free: 4.801 MB / 366.1 MB (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 --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) 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) Reference file matches