Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 118.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 201.2 kB / 18.73 MB, free: 4.359 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.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 50.54 MB / 408.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004166/0.2784, allocations: 2.841 MB / 411.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.28, allocations: 1.199 MB / 412.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.2802, allocations: 8 kB / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2816, allocations: 0.6145 MB / 413.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.2819, allocations: 143 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.2832, allocations: 0.6533 MB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.2836, allocations: 302.6 kB / 414.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.2841, allocations: 268.6 kB / 414.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.2843, allocations: 131.5 kB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.2846, allocations: 167.4 kB / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.2846, allocations: 24 kB / 415.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.285, allocations: 187.8 kB / 415.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.2851, allocations: 59.77 kB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2853, allocations: 151.3 kB / 415.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.2859, allocations: 0.5023 MB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2859, allocations: 4 kB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2859, allocations: 0 / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2859, allocations: 4 kB / 416 MB, free: 10.43 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001764/0.2877, allocations: 0.7138 MB / 416.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2878, allocations: 12.03 kB / 416.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.307e-05/0.2878, allocations: 66.72 kB / 416.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.2887, allocations: 124.5 kB / 416.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.2891, allocations: 260.5 kB / 417.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2891, allocations: 29.02 kB / 417.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.2892, allocations: 36.12 kB / 417.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.2898, allocations: 329.1 kB / 417.5 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2898, allocations: 7.938 kB / 417.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.2898, allocations: 12 kB / 417.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2898, allocations: 8 kB / 417.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.2902, allocations: 238.5 kB / 417.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.2922, allocations: 1.443 MB / 419.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.2929, allocations: 0.7005 MB / 419.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2931, allocations: 104.8 kB / 420 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.2933, allocations: 166.2 kB / 420.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2933, allocations: 38.56 kB / 420.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.2933, allocations: 0 / 420.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001214/0.2946, allocations: 498.4 kB / 420.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2946, allocations: 55.34 kB / 420.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2948, allocations: 175.3 kB / 421 MB, free: 5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2948, allocations: 33.7 kB / 421 MB, free: 4.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2949, allocations: 175.9 kB / 421.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.295, allocations: 90.83 kB / 421.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.2951, allocations: 53.89 kB / 421.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2952, allocations: 322.8 kB / 421.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2953, allocations: 68.53 kB / 421.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2955, allocations: 133 kB / 421.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.2958, allocations: 217 kB / 422 MB, free: 3.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2958, allocations: 8 kB / 422 MB, free: 3.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005564/0.2964, allocations: 323.5 kB / 422.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2964, allocations: 11.94 kB / 422.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2964, allocations: 0 / 422.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.2967, allocations: 88.95 kB / 422.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2969, allocations: 35.98 kB / 422.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.2989, allocations: 2.03 MB / 424.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2991, allocations: 27.69 kB / 424.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.2991, allocations: 8 kB / 424.5 MB, free: 1.184 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.2993, allocations: 157.3 kB / 424.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.2993, allocations: 23.73 kB / 424.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.2999, allocations: 272.2 kB / 425 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2999, allocations: 4 kB / 425 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2999, allocations: 4 kB / 425 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2999, allocations: 0 / 425 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009545/0.3009, allocations: 0.6973 MB / 425.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3009, allocations: 0 / 425.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.301, allocations: 27.92 kB / 425.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.3013, allocations: 72.81 kB / 425.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3013, allocations: 7.984 kB / 425.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.3032, allocations: 2.022 MB / 427.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3032, allocations: 3.984 kB / 427.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.3039, allocations: 456.3 kB / 428.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.304, allocations: 116.9 kB / 428.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.304, allocations: 4 kB / 428.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3041, allocations: 4 kB / 428.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3042, allocations: 15.98 kB / 428.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3042, allocations: 7.984 kB / 428.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3043, allocations: 131.3 kB / 428.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3043, allocations: 0 / 428.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.3048, allocations: 99.69 kB / 428.6 MB, free: 12.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.3059, allocations: 1.003 MB / 429.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.3065, allocations: 350.6 kB / 430 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.3065, allocations: 4 kB / 430 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3069, allocations: 254.4 kB / 430.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.3072, allocations: 23.98 kB / 430.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.3103, allocations: 2.506 MB / 432.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3107, allocations: 0.7521 MB / 433.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3108, allocations: 25.94 kB / 433.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3109, allocations: 71.41 kB / 433.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3109, allocations: 0 / 433.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3372, allocations: 5.192 MB / 438.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.723/10.06, allocations: 7.938 kB / 438.8 MB, free: 2.617 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches