Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001403/0.001403, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.263, allocations: 50.55 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005883/0.2689, allocations: 5.246 MB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.272, allocations: 1.732 MB / 415.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.2723, allocations: 16 kB / 415.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.2752, allocations: 1.411 MB / 417.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006595/0.2758, allocations: 325.6 kB / 417.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.2771, allocations: 0.642 MB / 418.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008077/0.2779, allocations: 0.8091 MB / 418.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.2789, allocations: 0.763 MB / 419.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.2793, allocations: 350.7 kB / 420 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.2797, allocations: 458.2 kB / 420.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.2798, allocations: 76 kB / 420.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.2803, allocations: 263.8 kB / 420.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2805, allocations: 183.3 kB / 421 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.2808, allocations: 425.9 kB / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2821, allocations: 1.195 MB / 422.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2821, allocations: 0 / 422.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2821, allocations: 0 / 422.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.2821, allocations: 0 / 422.6 MB, free: 3.637 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003681/0.2858, allocations: 1.455 MB / 424.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2859, allocations: 8.031 kB / 424.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.286, allocations: 152.3 kB / 424.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.2876, allocations: 259.7 kB / 424.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2878, allocations: 255.2 kB / 424.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.2879, allocations: 78.38 kB / 424.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.288, allocations: 100.3 kB / 424.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2894, allocations: 0.9384 MB / 425.8 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.2895, allocations: 4 kB / 425.8 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.2895, allocations: 39.94 kB / 425.9 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2896, allocations: 24 kB / 425.9 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2908, allocations: 0.7848 MB / 426.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.2956, allocations: 3.602 MB / 430.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.2974, allocations: 1.253 MB / 431.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.2979, allocations: 366 kB / 431.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.2981, allocations: 187.2 kB / 432.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.2982, allocations: 51.48 kB / 432.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.2982, allocations: 4 kB / 432.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002018/0.3002, allocations: 1.3 MB / 433.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3003, allocations: 86.11 kB / 433.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.3006, allocations: 364.4 kB / 433.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.3007, allocations: 41.7 kB / 433.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3009, allocations: 382.7 kB / 434.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.3011, allocations: 299.8 kB / 434.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.3013, allocations: 174.8 kB / 434.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3014, allocations: 366.7 kB / 435.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.3019, allocations: 262.5 kB / 435.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.3024, allocations: 479.4 kB / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/0.3034, allocations: 0.7667 MB / 436.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3034, allocations: 4 kB / 436.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001522/0.305, allocations: 0.9768 MB / 437.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.305, allocations: 10.66 kB / 437.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.305, allocations: 8 kB / 437.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.3054, allocations: 123.4 kB / 437.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.3061, allocations: 207.6 kB / 437.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.3101, allocations: 6.111 MB / 444 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.3107, allocations: 107 kB / 444.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.3107, allocations: 39.98 kB / 444.2 MB, free: 12.68 MB / 366.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.000277/0.311, allocations: 233.5 kB / 444.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3111, allocations: 51.34 kB / 444.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.3125, allocations: 0.852 MB / 445.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3125, allocations: 8 kB / 445.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3126, allocations: 7.938 kB / 445.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3126, allocations: 3.984 kB / 445.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.3153, allocations: 2.085 MB / 447.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3153, allocations: 4 kB / 447.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.3159, allocations: 131.8 kB / 447.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.3161, allocations: 111.6 kB / 447.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.3162, allocations: 16 kB / 447.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.3197, allocations: 5.732 MB / 453.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3197, allocations: 0 / 453.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3214, allocations: 1.269 MB / 454.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3215, allocations: 144.3 kB / 454.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.3216, allocations: 28 kB / 454.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3219, allocations: 20 kB / 454.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.322, allocations: 60.52 kB / 454.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.3221, allocations: 27.98 kB / 455 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.3224, allocations: 251.2 kB / 455.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3224, allocations: 4 kB / 455.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008894/0.3233, allocations: 271.5 kB / 455.5 MB, free: 0.5547 MB / 366.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.00202/0.3253, allocations: 1.871 MB / 457.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.3268, allocations: 1.177 MB / 458.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3268, allocations: 4.062 kB / 458.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.3276, allocations: 0.7873 MB / 459.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.3281, allocations: 57.38 kB / 459.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007031/0.3352, allocations: 5.68 MB / 465 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.3357, allocations: 0.9149 MB / 466 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.3361, allocations: 105.1 kB / 466.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.3364, allocations: 247.3 kB / 466.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3364, allocations: 0 / 466.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.162/1.498, allocations: 13.01 MB / 479.3 MB, free: 8.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.85, allocations: 8.047 kB / 479.3 MB, free: 8.383 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches