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.001203/0.001203, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001279, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2499, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005103/0.255, allocations: 4.187 MB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.2577, allocations: 1.716 MB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.258, allocations: 12 kB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.2601, allocations: 0.9991 MB / 415.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.2607, allocations: 250.2 kB / 415.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2621, allocations: 0.759 MB / 416.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005781/0.2627, allocations: 0.6105 MB / 417.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.2634, allocations: 493.1 kB / 417.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.2638, allocations: 263 kB / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.2642, allocations: 334.6 kB / 418.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.2642, allocations: 52 kB / 418.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.2648, allocations: 295.7 kB / 418.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.2649, allocations: 131.5 kB / 418.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.2652, allocations: 314.5 kB / 419.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.2661, allocations: 0.9306 MB / 420.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2661, allocations: 0 / 420.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2661, allocations: 0 / 420.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2662, allocations: 4 kB / 420.1 MB, free: 6.191 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.00347/0.2696, allocations: 1.222 MB / 421.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2697, allocations: 8.031 kB / 421.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.2698, allocations: 114.7 kB / 421.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.271, allocations: 184 kB / 421.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.2713, allocations: 240.1 kB / 421.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.2713, allocations: 50.38 kB / 421.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2714, allocations: 76.27 kB / 421.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2727, allocations: 0.7036 MB / 422.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2727, allocations: 4 kB / 422.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.2728, allocations: 31.94 kB / 422.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2728, allocations: 16 kB / 422.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.2739, allocations: 0.5984 MB / 423.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.2771, allocations: 2.301 MB / 425.6 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.2788, allocations: 1.625 MB / 427.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.2792, allocations: 279.3 kB / 427.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.2794, allocations: 182.7 kB / 427.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2795, allocations: 43.12 kB / 427.7 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.2795, allocations: 0 / 427.7 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00147/0.281, allocations: 0.6976 MB / 428.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.2811, allocations: 111.4 kB / 428.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.2813, allocations: 265 kB / 428.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.2814, allocations: 37.7 kB / 428.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2816, allocations: 260 kB / 429.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2818, allocations: 224.8 kB / 429.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.282, allocations: 118.6 kB / 429.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2821, allocations: 346.7 kB / 429.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.2826, allocations: 209.9 kB / 429.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.2831, allocations: 309.3 kB / 430.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.284, allocations: 0.5065 MB / 430.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.284, allocations: 0 / 430.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001202/0.2852, allocations: 0.6334 MB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2853, allocations: 4 kB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2853, allocations: 8 kB / 431.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.2853, allocations: 4 kB / 431.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.2861, allocations: 156 kB / 431.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.2861, allocations: 8 kB / 431.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.2867, allocations: 71.36 kB / 431.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.2867, allocations: 23.98 kB / 431.7 MB, free: 9.93 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.0003422/0.2871, allocations: 193.6 kB / 431.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2872, allocations: 35.53 kB / 431.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.2886, allocations: 0.6006 MB / 432.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.2886, allocations: 8 kB / 432.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2887, allocations: 7.938 kB / 432.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2887, allocations: 3.984 kB / 432.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.2911, allocations: 1.29 MB / 433.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2912, allocations: 0 / 433.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.2917, allocations: 123.8 kB / 433.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.2917, allocations: 7.984 kB / 433.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.2918, allocations: 19.94 kB / 433.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2918, allocations: 4 kB / 433.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2918, allocations: 3.938 kB / 433.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.2934, allocations: 0.9713 MB / 434.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.2936, allocations: 116.5 kB / 435 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.2937, allocations: 23.92 kB / 435.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.2941, allocations: 23.98 kB / 435.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2942, allocations: 44.44 kB / 435.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.2942, allocations: 16 kB / 435.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.2944, allocations: 192.5 kB / 435.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2945, allocations: 4.062 kB / 435.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.2951, allocations: 175.5 kB / 435.5 MB, free: 5.977 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.001949/0.297, allocations: 1.57 MB / 437.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2981, allocations: 0.5273 MB / 437.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2981, allocations: 384 / 437.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.2986, allocations: 275.1 kB / 437.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.2991, allocations: 45.67 kB / 437.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.3051, allocations: 4.204 MB / 442.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.3055, allocations: 0.8421 MB / 443 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.3059, allocations: 75.41 kB / 443 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.3062, allocations: 190.7 kB / 443.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3062, allocations: 0 / 443.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3362, allocations: 9.47 MB / 452.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.635, allocations: 3.859 kB / 452.7 MB, free: 4.797 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