Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",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.001287/0.001287, allocations: 96.39 kB / 17.58 MB, free: 5.418 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.001228/0.001229, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 51.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08712/0.08847, allocations: 46.63 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006622/0.09513, allocations: 5.199 MB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.09812, allocations: 1.721 MB / 334.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.0986, allocations: 20 kB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.1016, allocations: 1.412 MB / 335.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.1027, allocations: 309.7 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1043, allocations: 0.8175 MB / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008597/0.1052, allocations: 0.8053 MB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000989/0.1062, allocations: 0.7654 MB / 338.4 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.1066, allocations: 354.7 kB / 338.8 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.1071, allocations: 462.1 kB / 339.2 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1072, allocations: 76 kB / 339.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.1077, allocations: 255.8 kB / 339.6 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1079, allocations: 183.4 kB / 339.7 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.1082, allocations: 433.8 kB / 340.2 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1093, allocations: 1.16 MB / 341.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1093, allocations: 3.984 kB / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1093, allocations: 0 / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1093, allocations: 0 / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003683/0.113, allocations: 1.447 MB / 342.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1131, allocations: 8.031 kB / 342.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.1132, allocations: 152.3 kB / 342.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.1148, allocations: 263.7 kB / 343.2 MB, free: 4.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.115, allocations: 259.2 kB / 343.4 MB, free: 4.137 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.115, allocations: 70.38 kB / 343.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1152, allocations: 108.3 kB / 343.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.1166, allocations: 0.9382 MB / 344.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1166, allocations: 8 kB / 344.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.1167, allocations: 36 kB / 344.6 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1167, allocations: 24 kB / 344.6 MB, free: 2.945 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.118, allocations: 0.7845 MB / 345.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/0.1227, allocations: 3.369 MB / 348.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.1245, allocations: 1.264 MB / 350 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.125, allocations: 365.2 kB / 350.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1251, allocations: 110 kB / 350.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1252, allocations: 47.5 kB / 350.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.1252, allocations: 0 / 350.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.00206/0.1273, allocations: 1.304 MB / 351.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1273, allocations: 86.11 kB / 351.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.1277, allocations: 372.2 kB / 352.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.1277, allocations: 37.7 kB / 352.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1279, allocations: 382.9 kB / 352.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.1281, allocations: 299.7 kB / 353 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1284, allocations: 174.8 kB / 353.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1285, allocations: 366.7 kB / 353.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.129, allocations: 270.5 kB / 353.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.1296, allocations: 471.4 kB / 354.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1306, allocations: 0.7667 MB / 355 MB, free: 7.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1306, allocations: 0 / 355 MB, free: 7.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001493/0.1321, allocations: 0.9729 MB / 356 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1321, allocations: 15.92 kB / 356 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1321, allocations: 8 kB / 356 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.1325, allocations: 127.4 kB / 356.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.1332, allocations: 207.7 kB / 356.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.1374, allocations: 6.11 MB / 362.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.1381, allocations: 102.8 kB / 362.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.1381, allocations: 39.98 kB / 362.6 MB, free: 15.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.1384, allocations: 237.5 kB / 362.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1386, allocations: 47.44 kB / 362.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1399, allocations: 0.8481 MB / 363.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1399, allocations: 12 kB / 363.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.14, allocations: 7.938 kB / 363.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.14, allocations: 3.984 kB / 363.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.1425, allocations: 1.935 MB / 365.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1425, allocations: 0 / 365.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.1431, allocations: 143.8 kB / 365.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.1434, allocations: 115.6 kB / 365.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.1434, allocations: 20 kB / 366 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.147, allocations: 5.705 MB / 371.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1471, allocations: 0 / 371.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.1488, allocations: 1.275 MB / 372.9 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1489, allocations: 140.4 kB / 373.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.149, allocations: 31.92 kB / 373.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.1494, allocations: 20 kB / 373.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.1495, allocations: 64.58 kB / 373.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.1495, allocations: 24 kB / 373.2 MB, free: 4.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.1498, allocations: 255.2 kB / 373.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1498, allocations: 0 / 373.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000877/0.1507, allocations: 263.3 kB / 373.7 MB, free: 3.828 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001963/0.1527, allocations: 1.863 MB / 375.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.1545, allocations: 1.209 MB / 376.8 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1546, allocations: 4 kB / 376.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.125/0.2796, allocations: 0.786 MB / 377.6 MB, free: 52.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.2804, allocations: 58.86 kB / 377.6 MB, free: 52.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.2871, allocations: 5.795 MB / 383.4 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.2875, allocations: 0.91 MB / 384.3 MB, free: 49.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005227/0.288, allocations: 105.3 kB / 384.4 MB, free: 49.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.2883, allocations: 239.5 kB / 384.7 MB, free: 49.41 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2883, allocations: 3.562 kB / 384.7 MB, free: 49.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/0.3293, allocations: 12.53 MB / 397.2 MB, free: 45.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/9.691, allocations: 3.984 kB / 397.2 MB, free: 45.07 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches