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.001036/0.00104, allocations: 105.8 kB / 17.06 MB, free: 6.023 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.001006/0.001006, allocations: 195 kB / 18 MB, free: 5.105 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 39.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2356, allocations: 49.44 MB / 400.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00515/0.2408, allocations: 4.174 MB / 404.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.2435, allocations: 1.635 MB / 406 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.2439, allocations: 16 kB / 406.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.2463, allocations: 1.015 MB / 407.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.2471, allocations: 230.3 kB / 407.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.2487, allocations: 0.7978 MB / 408.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008442/0.2496, allocations: 0.6183 MB / 408.7 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008252/0.2504, allocations: 0.4893 MB / 409.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.2508, allocations: 266.9 kB / 409.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.2513, allocations: 334.7 kB / 409.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2514, allocations: 56 kB / 409.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.252, allocations: 263.8 kB / 410.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.2521, allocations: 135.5 kB / 410.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.2524, allocations: 314.5 kB / 410.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.2535, allocations: 0.9189 MB / 411.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2535, allocations: 4 kB / 411.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2535, allocations: 0 / 411.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.2536, allocations: 0 / 411.5 MB, free: 13.71 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.003585/0.2572, allocations: 1.198 MB / 412.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2572, allocations: 12.03 kB / 412.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.2574, allocations: 114.7 kB / 412.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.2585, allocations: 176 kB / 413 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2587, allocations: 244.9 kB / 413.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.2588, allocations: 50.38 kB / 413.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2589, allocations: 64.38 kB / 413.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.2602, allocations: 0.7114 MB / 414 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.2603, allocations: 3.906 kB / 414 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.2603, allocations: 24 kB / 414 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.2604, allocations: 20 kB / 414.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2617, allocations: 0.5946 MB / 414.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.265, allocations: 2.316 MB / 417 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.2667, allocations: 1.614 MB / 418.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.2672, allocations: 288.8 kB / 418.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.2674, allocations: 93.66 kB / 419 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2674, allocations: 39.12 kB / 419 MB, free: 5.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.464e-06/0.2674, allocations: 0 / 419 MB, free: 5.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001593/0.269, allocations: 0.7093 MB / 419.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.2691, allocations: 111.4 kB / 419.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.2694, allocations: 260.9 kB / 420.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.2694, allocations: 41.69 kB / 420.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2696, allocations: 260 kB / 420.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.2697, allocations: 228.7 kB / 420.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.2699, allocations: 122.7 kB / 420.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2701, allocations: 346.7 kB / 421.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.2706, allocations: 213.9 kB / 421.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.2711, allocations: 301.4 kB / 421.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2722, allocations: 0.5103 MB / 422.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2722, allocations: 0 / 422.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001306/0.2735, allocations: 0.6259 MB / 422.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.2735, allocations: 8 kB / 422.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2735, allocations: 0 / 422.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2736, allocations: 4 kB / 422.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.2743, allocations: 163.7 kB / 422.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.2743, allocations: 7.984 kB / 422.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.2749, allocations: 79.25 kB / 423 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.2749, allocations: 31.98 kB / 423 MB, free: 1.555 MB / 334.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.0002509/0.2752, allocations: 189.7 kB / 423.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2753, allocations: 35.62 kB / 423.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.2766, allocations: 0.6045 MB / 423.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.2767, allocations: 8 kB / 423.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2767, allocations: 0 / 423.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2767, allocations: 3.984 kB / 423.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.2789, allocations: 1.286 MB / 425.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.279, allocations: 0 / 425.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.2796, allocations: 127.9 kB / 425.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.2796, allocations: 0 / 425.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.2796, allocations: 23.92 kB / 425.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.2797, allocations: 7.938 kB / 425.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2797, allocations: 0 / 425.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.2814, allocations: 0.9674 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2815, allocations: 124.6 kB / 426.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.2816, allocations: 15.94 kB / 426.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.282, allocations: 36.03 kB / 426.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.2821, allocations: 44.5 kB / 426.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.2822, allocations: 19.94 kB / 426.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.2824, allocations: 188.5 kB / 426.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.2824, allocations: 0 / 426.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000589/0.283, allocations: 187.4 kB / 426.8 MB, free: 13.59 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.002127/0.2851, allocations: 1.571 MB / 428.4 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2864, allocations: 0.5351 MB / 428.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2864, allocations: 4 kB / 428.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.287, allocations: 271.1 kB / 429.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.2876, allocations: 52.8 kB / 429.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/0.2945, allocations: 4.212 MB / 433.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.2949, allocations: 0.8421 MB / 434.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.2953, allocations: 83.41 kB / 434.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.2956, allocations: 185.4 kB / 434.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2956, allocations: 0 / 434.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2819/0.5776, allocations: 9.451 MB / 444 MB, free: 12.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.33, allocations: 7 kB / 444 MB, free: 12.41 MB / 366.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