Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_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.0007457/0.0007456, allocations: 92.84 kB / 16.65 MB, free: 6.586 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.0007954/0.0007955, allocations: 186.2 kB / 17.57 MB, free: 6.199 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.415/1.415, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 7.984 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 50.41 MB / 352 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00554/0.1118, allocations: 4.766 MB / 356.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.115, allocations: 1.635 MB / 358.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.1157, allocations: 20 kB / 358.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008742/0.1166, allocations: 266.9 kB / 358.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1178, allocations: 266.3 kB / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.1196, allocations: 0.7787 MB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1209, allocations: 0.774 MB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.1239, allocations: 1.486 MB / 361.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.1245, allocations: 294.7 kB / 362.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007357/0.1253, allocations: 410.1 kB / 362.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.1255, allocations: 36 kB / 362.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008323/0.1263, allocations: 211.8 kB / 362.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1265, allocations: 143.3 kB / 363 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.1271, allocations: 395.7 kB / 363.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.1288, allocations: 1.141 MB / 364.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1288, allocations: 0 / 364.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1288, allocations: 0 / 364.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.32e-05/0.1288, allocations: 0 / 364.5 MB, free: 6.941 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004191/0.133, allocations: 1.272 MB / 365.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1331, allocations: 12.02 kB / 365.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003304/0.1334, allocations: 148.4 kB / 366 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.1352, allocations: 259.7 kB / 366.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1355, allocations: 251.2 kB / 366.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.1356, allocations: 74.38 kB / 366.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.1358, allocations: 104.3 kB / 366.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1377, allocations: 0.9462 MB / 367.6 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.1378, allocations: 7.922 kB / 367.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.1379, allocations: 40 kB / 367.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.1379, allocations: 24 kB / 367.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1394, allocations: 0.7808 MB / 368.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2391/0.3786, allocations: 3.392 MB / 371.8 MB, free: 23.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.3806, allocations: 1.26 MB / 373.1 MB, free: 22.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.3813, allocations: 374.5 kB / 373.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.3814, allocations: 104.7 kB / 373.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3815, allocations: 42.27 kB / 373.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.695e-06/0.3815, allocations: 0 / 373.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002239/0.3837, allocations: 1.312 MB / 374.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3838, allocations: 90.45 kB / 375 MB, free: 21.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.3842, allocations: 370.9 kB / 375.4 MB, free: 21.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3842, allocations: 35.23 kB / 375.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3844, allocations: 379.9 kB / 375.8 MB, free: 21.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3846, allocations: 299.2 kB / 376.1 MB, free: 21.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3847, allocations: 85.33 kB / 376.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.3848, allocations: 360.4 kB / 376.5 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.3853, allocations: 269.3 kB / 376.7 MB, free: 20.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.3859, allocations: 474.5 kB / 377.2 MB, free: 20.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.3869, allocations: 0.763 MB / 378 MB, free: 20.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.3869, allocations: 3.281 kB / 378 MB, free: 20.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001504/0.3884, allocations: 0.9802 MB / 379 MB, free: 19.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3884, allocations: 7.781 kB / 379 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3884, allocations: 5.375 kB / 379 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.3888, allocations: 124.1 kB / 379.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.3896, allocations: 207.2 kB / 379.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.3925, allocations: 5.589 MB / 384.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.3931, allocations: 108.4 kB / 385 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.3932, allocations: 38.95 kB / 385 MB, free: 13.93 MB / 302.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.0002942/0.3935, allocations: 224.4 kB / 385.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3936, allocations: 54.09 kB / 385.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.395, allocations: 0.8467 MB / 386.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.395, allocations: 8.688 kB / 386.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.395, allocations: 3.531 kB / 386.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.395, allocations: 4.312 kB / 386.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.3976, allocations: 1.939 MB / 388.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3976, allocations: 2.406 kB / 388.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.3982, allocations: 135.3 kB / 388.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.3985, allocations: 110.9 kB / 388.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.3985, allocations: 18.2 kB / 388.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.4011, allocations: 5.305 MB / 393.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.4011, allocations: 6.25 kB / 393.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.4028, allocations: 1.273 MB / 394.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4029, allocations: 144.2 kB / 395.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.403, allocations: 18.28 kB / 395.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.4034, allocations: 25.53 kB / 395.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4035, allocations: 67.02 kB / 395.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.4036, allocations: 26.17 kB / 395.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.4038, allocations: 255.2 kB / 395.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4039, allocations: 1.219 kB / 395.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000992/0.4049, allocations: 264 kB / 395.7 MB, free: 5.496 MB / 302.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.002138/0.407, allocations: 1.875 MB / 397.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.4088, allocations: 1.169 MB / 398.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4088, allocations: 5.312 kB / 398.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.4095, allocations: 0.7968 MB / 399.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.4102, allocations: 62.27 kB / 399.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/0.4178, allocations: 6.158 MB / 405.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.4183, allocations: 0.9118 MB / 406.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.4189, allocations: 105.6 kB / 406.8 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.4192, allocations: 247.2 kB / 407 MB, free: 13.82 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4192, allocations: 0 / 407 MB, free: 13.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.4553, allocations: 11.95 MB / 419 MB, free: 3.398 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.4555, allocations: 249.8 kB / 419.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.717, allocations: 3.516 kB / 419.3 MB, free: 3.145 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches