Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 50.3 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09239, allocations: 49.45 MB / 350.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005459/0.0979, allocations: 4.167 MB / 354.4 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.1013, allocations: 1.627 MB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000516/0.1019, allocations: 12 kB / 356 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.1047, allocations: 1.018 MB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.106, allocations: 230.3 kB / 357.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.1079, allocations: 0.794 MB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009997/0.1089, allocations: 0.6183 MB / 358.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.1099, allocations: 0.4957 MB / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.1105, allocations: 259.1 kB / 359.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.1112, allocations: 342.7 kB / 359.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.1114, allocations: 52 kB / 359.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007782/0.1122, allocations: 267.7 kB / 360 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1124, allocations: 139.4 kB / 360.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.1128, allocations: 310.5 kB / 360.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1142, allocations: 0.915 MB / 361.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1142, allocations: 4 kB / 361.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1142, allocations: 0 / 361.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.1143, allocations: 0 / 361.4 MB, free: 9.016 MB / 302.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.004558/0.1188, allocations: 1.202 MB / 362.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1189, allocations: 16.03 kB / 362.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.1191, allocations: 110.7 kB / 362.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.1203, allocations: 168.2 kB / 362.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1206, allocations: 249.2 kB / 363.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.1207, allocations: 50.38 kB / 363.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.1209, allocations: 68.38 kB / 363.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.1225, allocations: 0.7152 MB / 364 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.1225, allocations: 0 / 364 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.1226, allocations: 28 kB / 364 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1226, allocations: 19.98 kB / 364 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.124, allocations: 0.5907 MB / 364.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.1277, allocations: 2.324 MB / 366.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.1293, allocations: 1.625 MB / 368.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.1299, allocations: 274.3 kB / 368.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.13, allocations: 97.66 kB / 368.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1301, allocations: 43.12 kB / 369 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.444e-06/0.1301, allocations: 0 / 369 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001661/0.1317, allocations: 0.6977 MB / 369.7 MB, free: 256 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.1318, allocations: 111.4 kB / 369.8 MB, free: 120 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1571/0.289, allocations: 265.5 kB / 370 MB, free: 25.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.2892, allocations: 38.36 kB / 370.1 MB, free: 25.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.2894, allocations: 265.9 kB / 370.3 MB, free: 25.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.2897, allocations: 219.1 kB / 370.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.2899, allocations: 118.8 kB / 370.7 MB, free: 25.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.29, allocations: 348.6 kB / 371 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.2906, allocations: 206.3 kB / 371.2 MB, free: 24.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.2912, allocations: 306 kB / 371.5 MB, free: 24.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2923, allocations: 0.5103 MB / 372 MB, free: 24.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2923, allocations: 0 / 372 MB, free: 24.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001576/0.2939, allocations: 0.6345 MB / 372.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.294, allocations: 8.984 kB / 372.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.294, allocations: 1.844 kB / 372.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.294, allocations: 11.31 kB / 372.7 MB, free: 24.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.2948, allocations: 156.8 kB / 372.8 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2948, allocations: 6.594 kB / 372.8 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.2953, allocations: 72.81 kB / 372.9 MB, free: 24.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.2954, allocations: 27.56 kB / 372.9 MB, free: 24.48 MB / 302.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.0002401/0.2956, allocations: 187.8 kB / 373.1 MB, free: 24.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2957, allocations: 39.8 kB / 373.1 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.297, allocations: 0.6064 MB / 373.7 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.297, allocations: 6.719 kB / 373.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2971, allocations: 1.594 kB / 373.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2971, allocations: 2.906 kB / 373.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.2991, allocations: 1.3 MB / 375.1 MB, free: 23.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2991, allocations: 2.047 kB / 375.1 MB, free: 23.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.2997, allocations: 128 kB / 375.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2997, allocations: 5.906 kB / 375.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.2997, allocations: 14.39 kB / 375.2 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.2997, allocations: 3.766 kB / 375.2 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2998, allocations: 0 / 375.2 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3013, allocations: 0.9787 MB / 376.2 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.3014, allocations: 124.7 kB / 376.3 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.3015, allocations: 12.12 kB / 376.3 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.3019, allocations: 32.17 kB / 376.4 MB, free: 22.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.302, allocations: 42.47 kB / 376.4 MB, free: 22.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.3021, allocations: 19.3 kB / 376.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3022, allocations: 191.2 kB / 376.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3022, allocations: 0 / 376.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005663/0.3028, allocations: 178.8 kB / 376.8 MB, free: 22.49 MB / 302.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.001793/0.3046, allocations: 1.57 MB / 378.3 MB, free: 21.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.306, allocations: 0.5639 MB / 378.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3061, allocations: 1.469 kB / 378.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.3065, allocations: 271.7 kB / 379.2 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.307, allocations: 52.45 kB / 379.2 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.3127, allocations: 4.24 MB / 383.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.313, allocations: 0.8421 MB / 384.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.3134, allocations: 81.55 kB / 384.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.3137, allocations: 186.7 kB / 384.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3137, allocations: 0 / 384.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3412, allocations: 9.174 MB / 393.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.686, allocations: 4.5 kB / 393.7 MB, free: 14.36 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches