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.001553/0.001553, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001808/0.001808, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.35/1.35, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009538/0.0009539, allocations: 43.98 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08191, allocations: 49.46 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006752/0.0887, allocations: 5.239 MB / 355.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.09167, allocations: 1.67 MB / 357.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.09225, allocations: 20 kB / 357.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.09535, allocations: 1.415 MB / 358.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009836/0.09635, allocations: 321.6 kB / 358.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.09793, allocations: 0.8051 MB / 359.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.099, allocations: 0.813 MB / 360.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.1, allocations: 0.7654 MB / 361.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.1005, allocations: 358.7 kB / 361.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.1011, allocations: 462.1 kB / 362 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.774e-05/0.1012, allocations: 76 kB / 362.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.1018, allocations: 255.8 kB / 362.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.102, allocations: 179.3 kB / 362.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.1024, allocations: 425.9 kB / 362.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.1036, allocations: 1.184 MB / 364.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1036, allocations: 0 / 364.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1036, allocations: 4 kB / 364.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1036, allocations: 4 kB / 364.1 MB, free: 6.277 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.003879/0.1075, allocations: 1.443 MB / 365.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1076, allocations: 16.02 kB / 365.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.1077, allocations: 144.4 kB / 365.7 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.1093, allocations: 259.7 kB / 366 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1096, allocations: 255.1 kB / 366.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.1097, allocations: 74.38 kB / 366.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1098, allocations: 96.38 kB / 366.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1112, allocations: 0.9462 MB / 367.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.1113, allocations: 15.89 kB / 367.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.1114, allocations: 40 kB / 367.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1114, allocations: 24 kB / 367.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1127, allocations: 0.777 MB / 368.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1824/0.2952, allocations: 3.365 MB / 371.6 MB, free: 23.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.2975, allocations: 1.256 MB / 372.8 MB, free: 23.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.2982, allocations: 374.7 kB / 373.2 MB, free: 23.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.2984, allocations: 97.5 kB / 373.3 MB, free: 23.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.2984, allocations: 49 kB / 373.3 MB, free: 23.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 4.268e-06/0.2984, allocations: 1.125 kB / 373.3 MB, free: 23.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002206/0.3006, allocations: 1.303 MB / 374.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3007, allocations: 87.98 kB / 374.7 MB, free: 22.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.3011, allocations: 373.1 kB / 375.1 MB, free: 21.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3011, allocations: 36.45 kB / 375.1 MB, free: 21.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.3014, allocations: 383.5 kB / 375.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.3016, allocations: 296.4 kB / 375.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.3018, allocations: 178 kB / 376 MB, free: 21.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.302, allocations: 361.9 kB / 376.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3025, allocations: 265.9 kB / 376.6 MB, free: 20.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.3031, allocations: 474.3 kB / 377 MB, free: 20.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.3041, allocations: 0.7756 MB / 377.8 MB, free: 20 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3041, allocations: 5.312 kB / 377.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001542/0.3057, allocations: 0.9725 MB / 378.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3057, allocations: 6.906 kB / 378.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3057, allocations: 6.922 kB / 378.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3061, allocations: 130.8 kB / 378.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.3069, allocations: 204.4 kB / 379.1 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.3098, allocations: 6.116 MB / 385.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.3104, allocations: 100.4 kB / 385.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.3105, allocations: 42.84 kB / 385.4 MB, free: 13.3 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.0002669/0.3107, allocations: 231.2 kB / 385.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3109, allocations: 63.84 kB / 385.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3122, allocations: 0.8416 MB / 386.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3122, allocations: 8.75 kB / 386.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3122, allocations: 2.844 kB / 386.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3122, allocations: 4.547 kB / 386.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.3147, allocations: 1.941 MB / 388.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3147, allocations: 3 kB / 388.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.3153, allocations: 136.2 kB / 388.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.3156, allocations: 111.1 kB / 388.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.3156, allocations: 21.14 kB / 388.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.3181, allocations: 5.7 MB / 394.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3181, allocations: 7.344 kB / 394.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.3197, allocations: 1.275 MB / 395.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3198, allocations: 143.2 kB / 395.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.3199, allocations: 16.12 kB / 395.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.3203, allocations: 21.34 kB / 395.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3204, allocations: 70.73 kB / 396 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.3204, allocations: 32.14 kB / 396 MB, free: 4.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.3207, allocations: 251.2 kB / 396.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3207, allocations: 0 / 396.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000991/0.3217, allocations: 264 kB / 396.5 MB, free: 4.477 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.001909/0.3236, allocations: 1.881 MB / 398.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.3256, allocations: 1.206 MB / 399.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.3256, allocations: 0 / 399.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.3263, allocations: 0.7993 MB / 400.4 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.3269, allocations: 54.56 kB / 400.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/0.3346, allocations: 5.776 MB / 406.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3351, allocations: 0.9194 MB / 407.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005428/0.3357, allocations: 112.7 kB / 407.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.336, allocations: 238.6 kB / 407.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.336, allocations: 0 / 407.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.3756, allocations: 12.56 MB / 420 MB, free: 2.094 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 3.859 kB / 420 MB, free: 2.09 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