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.001155/0.001155, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2636, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005134/0.2688, allocations: 4.19 MB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2714, allocations: 1.709 MB / 414.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.2716, allocations: 8 kB / 414.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.2738, allocations: 1.015 MB / 415.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.2743, allocations: 242.2 kB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2757, allocations: 0.7512 MB / 416.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.2763, allocations: 0.6144 MB / 417.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.277, allocations: 0.4893 MB / 417.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.2774, allocations: 263 kB / 418 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.2778, allocations: 334.6 kB / 418.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.2779, allocations: 52 kB / 418.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.2783, allocations: 291.8 kB / 418.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.2785, allocations: 127.5 kB / 418.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.2787, allocations: 310.5 kB / 419.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.2796, allocations: 0.9423 MB / 420.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2796, allocations: 7.938 kB / 420.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2796, allocations: 0 / 420.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2797, allocations: 0 / 420.1 MB, free: 6.203 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.003491/0.2831, allocations: 1.218 MB / 421.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.2832, allocations: 12.02 kB / 421.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.2834, allocations: 114.7 kB / 421.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.2846, allocations: 176 kB / 421.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.2848, allocations: 256 kB / 421.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.2849, allocations: 50.38 kB / 421.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.285, allocations: 72.22 kB / 421.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2862, allocations: 0.6998 MB / 422.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2862, allocations: 0 / 422.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.2863, allocations: 28 kB / 422.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.2863, allocations: 20 kB / 422.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.2875, allocations: 0.6022 MB / 423.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.2908, allocations: 2.305 MB / 425.6 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.2924, allocations: 1.621 MB / 427.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.2929, allocations: 278.3 kB / 427.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.2931, allocations: 178.8 kB / 427.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2932, allocations: 43.12 kB / 427.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.354e-06/0.2932, allocations: 0 / 427.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001522/0.2947, allocations: 0.6976 MB / 428.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2948, allocations: 111.4 kB / 428.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2951, allocations: 260.9 kB / 428.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.2951, allocations: 37.7 kB / 428.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.2953, allocations: 268.1 kB / 429.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.2955, allocations: 224.7 kB / 429.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2957, allocations: 114.6 kB / 429.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2958, allocations: 350.7 kB / 429.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.2963, allocations: 213.9 kB / 430 MB, free: 11.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.2968, allocations: 305.3 kB / 430.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.2978, allocations: 0.5065 MB / 430.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2978, allocations: 0 / 430.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001206/0.299, allocations: 0.6373 MB / 431.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2991, allocations: 4 kB / 431.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.2991, allocations: 4 kB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2991, allocations: 7.938 kB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.2998, allocations: 155.8 kB / 431.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2998, allocations: 4 kB / 431.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.3003, allocations: 79.53 kB / 431.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.3004, allocations: 20 kB / 431.7 MB, free: 9.941 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.0002151/0.3006, allocations: 193.5 kB / 431.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.3007, allocations: 39.53 kB / 431.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.3019, allocations: 0.6006 MB / 432.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3019, allocations: 8 kB / 432.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.302, allocations: 0 / 432.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.302, allocations: 3.984 kB / 432.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.304, allocations: 1.29 MB / 433.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.304, allocations: 0 / 433.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.3046, allocations: 131.8 kB / 433.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3046, allocations: 4 kB / 433.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.3047, allocations: 15.94 kB / 433.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.3047, allocations: 8 kB / 433.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3047, allocations: 4 kB / 434 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.3063, allocations: 0.9635 MB / 434.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3064, allocations: 132.5 kB / 435 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.3065, allocations: 15.94 kB / 435.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.3069, allocations: 23.98 kB / 435.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.307, allocations: 44.5 kB / 435.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.307, allocations: 16 kB / 435.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.3072, allocations: 192.5 kB / 435.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3072, allocations: 0 / 435.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.3078, allocations: 175.5 kB / 435.5 MB, free: 5.992 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.002001/0.3098, allocations: 1.566 MB / 437.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3109, allocations: 0.5312 MB / 437.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3109, allocations: 0 / 437.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.3114, allocations: 275.5 kB / 437.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.312, allocations: 52.3 kB / 437.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.3181, allocations: 4.2 MB / 442.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3186, allocations: 0.8461 MB / 443 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.3189, allocations: 75.41 kB / 443 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.3192, allocations: 183.4 kB / 443.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3192, allocations: 0 / 443.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.3592, allocations: 9.468 MB / 452.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.952, allocations: 6.672 kB / 452.7 MB, free: 4.812 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.0.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