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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2638, allocations: 53.39 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006962/0.2708, allocations: 5.307 MB / 436.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.2739, allocations: 1.763 MB / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.2742, allocations: 16 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.2775, allocations: 1.419 MB / 439.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.2783, allocations: 329.6 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2797, allocations: 0.6418 MB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009792/0.2807, allocations: 0.8052 MB / 441.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.2817, allocations: 0.6751 MB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2822, allocations: 366.7 kB / 442.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.2828, allocations: 458.1 kB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.68e-05/0.2829, allocations: 79.94 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.2835, allocations: 263.8 kB / 443.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.2836, allocations: 175.4 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.284, allocations: 433.8 kB / 443.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.2855, allocations: 1.203 MB / 445.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2855, allocations: 4 kB / 445.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2855, allocations: 0 / 445.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.2855, allocations: 0 / 445.1 MB, free: 8.707 MB / 350.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.003985/0.2895, allocations: 1.394 MB / 446.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2895, allocations: 12.03 kB / 446.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.2897, allocations: 144.4 kB / 446.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.2913, allocations: 244.2 kB / 446.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.2915, allocations: 218 kB / 447.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.2916, allocations: 70.38 kB / 447.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.2918, allocations: 100.4 kB / 447.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.2933, allocations: 0.9462 MB / 448.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.2934, allocations: 7.953 kB / 448.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.2934, allocations: 39.98 kB / 448.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2935, allocations: 24 kB / 448.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2949, allocations: 0.7886 MB / 449.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/0.3003, allocations: 3.076 MB / 452.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.3021, allocations: 0.8889 MB / 453 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.3027, allocations: 325.7 kB / 453.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.3028, allocations: 40.94 kB / 453.4 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3028, allocations: 51.44 kB / 453.4 MB, free: 136 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.545e-06/0.3028, allocations: 0 / 453.4 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002169/0.305, allocations: 0.9994 MB / 454.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.3051, allocations: 86.11 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.3055, allocations: 368.4 kB / 454.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.3056, allocations: 41.7 kB / 454.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.3058, allocations: 392.2 kB / 455.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.3061, allocations: 317.3 kB / 455.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.3064, allocations: 174.9 kB / 455.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3066, allocations: 366.7 kB / 456.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.307, allocations: 266.5 kB / 456.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.3077, allocations: 479.4 kB / 456.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.3089, allocations: 0.7706 MB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3089, allocations: 4 kB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0018/0.3107, allocations: 0.9849 MB / 458.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3107, allocations: 12 kB / 458.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3107, allocations: 4 kB / 458.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.3111, allocations: 131.3 kB / 458.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/0.3119, allocations: 203.7 kB / 459 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.3168, allocations: 5.701 MB / 464.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.3174, allocations: 111.1 kB / 464.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.3175, allocations: 40 kB / 464.8 MB, free: 4.031 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.000343/0.3178, allocations: 237.5 kB / 465 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3179, allocations: 51.67 kB / 465.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.3195, allocations: 0.8444 MB / 465.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3195, allocations: 8 kB / 465.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3195, allocations: 3.938 kB / 465.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.3195, allocations: 7.984 kB / 466 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.3225, allocations: 1.779 MB / 467.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3225, allocations: 4.281 kB / 467.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.3231, allocations: 139.8 kB / 467.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.3234, allocations: 107.3 kB / 468 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.3235, allocations: 20 kB / 468 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/0.3277, allocations: 5.296 MB / 473.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3277, allocations: 4 kB / 473.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.3296, allocations: 1.285 MB / 474.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3297, allocations: 71.5 kB / 474.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.3298, allocations: 31.88 kB / 474.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3302, allocations: 16 kB / 474.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3303, allocations: 64.55 kB / 474.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.3303, allocations: 32.05 kB / 474.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.3306, allocations: 255.2 kB / 475 MB, free: 9.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 3.938 kB / 475 MB, free: 9.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009344/0.3316, allocations: 259.6 kB / 475.3 MB, free: 8.895 MB / 382.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.002377/0.3339, allocations: 1.879 MB / 477.2 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.3357, allocations: 1.137 MB / 478.3 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3357, allocations: 0 / 478.3 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.3366, allocations: 0.758 MB / 479.1 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.3372, allocations: 73.38 kB / 479.1 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.3457, allocations: 5.697 MB / 484.8 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.3463, allocations: 0.911 MB / 485.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004252/0.3467, allocations: 101.1 kB / 485.9 MB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.3471, allocations: 247.3 kB / 486.1 MB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3471, allocations: 4 kB / 486.1 MB, free: 13.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07458/0.4217, allocations: 13.75 MB / 499.8 MB, free: 15.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.94, allocations: 12 kB / 499.9 MB, free: 15.96 MB / 414.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.299354403046891]