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.001248/0.001248, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.62 kB / 306.4 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.108, allocations: 50.53 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005424/0.1135, allocations: 4.188 MB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.1159, allocations: 1.713 MB / 362.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.1161, allocations: 12 kB / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.1181, allocations: 0.9495 MB / 363.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.1187, allocations: 202.8 kB / 364 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1202, allocations: 0.7361 MB / 364.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.1208, allocations: 0.5868 MB / 365.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.1214, allocations: 453.9 kB / 365.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.1218, allocations: 255 kB / 366 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.1221, allocations: 322.6 kB / 366.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.948e-05/0.1222, allocations: 40 kB / 366.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.1228, allocations: 271.7 kB / 366.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1229, allocations: 119.5 kB / 366.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.1231, allocations: 294.5 kB / 367 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009279/0.1241, allocations: 0.9189 MB / 367.9 MB, free: 3.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1241, allocations: 4 kB / 367.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1241, allocations: 0 / 367.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1241, allocations: 0 / 367.9 MB, free: 3.32 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.00352/0.1276, allocations: 1.225 MB / 369.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1277, allocations: 11.97 kB / 369.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.1278, allocations: 106.7 kB / 369.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.129, allocations: 188 kB / 369.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1292, allocations: 240.2 kB / 369.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.1293, allocations: 58.31 kB / 369.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.1294, allocations: 60.38 kB / 369.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1305, allocations: 0.7076 MB / 370.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1305, allocations: 0 / 370.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.1306, allocations: 24 kB / 370.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1306, allocations: 16 kB / 370.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1465/0.2772, allocations: 0.5948 MB / 371.1 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.2809, allocations: 2.329 MB / 373.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.2824, allocations: 1.614 MB / 375.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.2829, allocations: 274.7 kB / 375.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.2831, allocations: 183.4 kB / 375.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2831, allocations: 40.11 kB / 375.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 3.426e-06/0.2832, allocations: 3.5 kB / 375.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001917/0.2851, allocations: 0.6959 MB / 376.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2852, allocations: 112.2 kB / 376.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.2855, allocations: 265.2 kB / 376.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.2856, allocations: 36.45 kB / 376.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.2858, allocations: 269.1 kB / 376.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.286, allocations: 224.4 kB / 377.2 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.2862, allocations: 114.2 kB / 377.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2864, allocations: 346.9 kB / 377.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.2869, allocations: 213.1 kB / 377.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.2876, allocations: 299.6 kB / 378.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2886, allocations: 0.5051 MB / 378.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2886, allocations: 4.219 kB / 378.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001169/0.2898, allocations: 0.6335 MB / 379.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2898, allocations: 10.72 kB / 379.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2898, allocations: 4.344 kB / 379.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2898, allocations: 4.719 kB / 379.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.2906, allocations: 155.3 kB / 379.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.2906, allocations: 5.609 kB / 379.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.2911, allocations: 73.42 kB / 379.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.2912, allocations: 25.5 kB / 379.5 MB, free: 15.21 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.0002673/0.2915, allocations: 187.9 kB / 379.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2916, allocations: 42.59 kB / 379.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.293, allocations: 0.5956 MB / 380.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.293, allocations: 10.91 kB / 380.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.293, allocations: 1.031 kB / 380.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.293, allocations: 7.703 kB / 380.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.2953, allocations: 1.295 MB / 381.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2954, allocations: 0 / 381.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.2959, allocations: 135.9 kB / 381.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.296, allocations: 3.5 kB / 381.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.296, allocations: 15.38 kB / 381.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.296, allocations: 3.625 kB / 381.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.296, allocations: 4.516 kB / 381.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2976, allocations: 0.9682 MB / 382.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.2977, allocations: 123.7 kB / 382.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.2978, allocations: 15.27 kB / 382.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.2981, allocations: 27.25 kB / 382.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2983, allocations: 43.42 kB / 383 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.2983, allocations: 20.45 kB / 383 MB, free: 13.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.2985, allocations: 198.8 kB / 383.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2985, allocations: 0 / 383.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00066/0.2992, allocations: 179.8 kB / 383.4 MB, free: 13.2 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.001886/0.3011, allocations: 1.559 MB / 384.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3022, allocations: 0.5302 MB / 385.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3022, allocations: 4.062 kB / 385.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.3027, allocations: 274.7 kB / 385.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.3032, allocations: 48.11 kB / 385.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.309, allocations: 4.493 MB / 390.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3094, allocations: 0.8464 MB / 391.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.3098, allocations: 75.36 kB / 391.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.3101, allocations: 185.6 kB / 391.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3101, allocations: 4 kB / 391.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.3285, allocations: 8.777 MB / 400.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.3287, allocations: 240.5 kB / 400.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.273, allocations: 0 / 400.4 MB, free: 3.762 MB / 302.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