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.001526/0.001526, allocations: 117 kB / 18.49 MB, free: 4.566 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.00155/0.00155, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.535/1.535, allocations: 230.4 MB / 254.7 MB, free: 15.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.1004, allocations: 53.38 MB / 427.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1906/0.291, allocations: 5.266 MB / 432.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.2936, allocations: 1.758 MB / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.2939, allocations: 17.5 kB / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.2964, allocations: 1.416 MB / 435.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/0.297, allocations: 326.7 kB / 435.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2981, allocations: 0.6491 MB / 436.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.2989, allocations: 0.8046 MB / 437.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008089/0.2997, allocations: 0.5887 MB / 437.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.3, allocations: 358.1 kB / 438.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.3005, allocations: 467.1 kB / 438.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.607e-05/0.3006, allocations: 74.88 kB / 438.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.3011, allocations: 264 kB / 439 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3012, allocations: 178.6 kB / 439.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3015, allocations: 430 kB / 439.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.3029, allocations: 1.199 MB / 440.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3029, allocations: 1.812 kB / 440.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3029, allocations: 0 / 440.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3029, allocations: 0 / 440.8 MB, free: 5.297 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.00391/0.3069, allocations: 1.476 MB / 442.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3069, allocations: 9.75 kB / 442.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.049e-05/0.3069, allocations: 29.44 kB / 442.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.3071, allocations: 152 kB / 442.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.3087, allocations: 242.6 kB / 442.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3089, allocations: 261 kB / 443 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.3089, allocations: 77.56 kB / 443.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.3091, allocations: 97.23 kB / 443.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.3107, allocations: 0.9487 MB / 444.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.3108, allocations: 6.844 kB / 444.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.3108, allocations: 40.22 kB / 444.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.3109, allocations: 24.19 kB / 444.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.3121, allocations: 0.786 MB / 445 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004721/0.3169, allocations: 3.62 MB / 448.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.3187, allocations: 1.183 MB / 449.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.3192, allocations: 320.5 kB / 450.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.3194, allocations: 195 kB / 450.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3195, allocations: 52.12 kB / 450.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.3195, allocations: 1.219 kB / 450.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002424/0.3219, allocations: 1.305 MB / 451.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.322, allocations: 86.67 kB / 451.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.3224, allocations: 370.2 kB / 452.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.3225, allocations: 40.2 kB / 452.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.3228, allocations: 397 kB / 452.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.3231, allocations: 314.3 kB / 452.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.3233, allocations: 173 kB / 453 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3235, allocations: 366.7 kB / 453.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.324, allocations: 272.5 kB / 453.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.3247, allocations: 476.4 kB / 454.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3258, allocations: 0.7713 MB / 454.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3258, allocations: 2.812 kB / 454.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001756/0.3276, allocations: 0.9823 MB / 455.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3276, allocations: 8.109 kB / 455.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3276, allocations: 7.484 kB / 455.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/0.328, allocations: 128 kB / 456 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/0.3288, allocations: 211.7 kB / 456.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.3351, allocations: 6.118 MB / 462.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3363, allocations: 103.5 kB / 462.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.3365, allocations: 41.7 kB / 462.4 MB, free: 5.816 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.0006673/0.3372, allocations: 228.5 kB / 462.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.3374, allocations: 61.84 kB / 462.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.3397, allocations: 0.8362 MB / 463.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3397, allocations: 9.125 kB / 463.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.3397, allocations: 11 kB / 463.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3397, allocations: 5.156 kB / 463.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.3441, allocations: 2.106 MB / 465.7 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.3441, allocations: 3.906 kB / 465.7 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.3449, allocations: 136.8 kB / 465.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.3453, allocations: 108.3 kB / 465.9 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.3454, allocations: 22.89 kB / 465.9 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/0.351, allocations: 5.708 MB / 471.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.351, allocations: 2.812 kB / 471.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.3538, allocations: 1.282 MB / 472.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.3541, allocations: 144.2 kB / 473.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3542, allocations: 26.86 kB / 473.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.3548, allocations: 19.5 kB / 473.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.355, allocations: 66.17 kB / 473.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.3551, allocations: 27.64 kB / 473.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004433/0.3555, allocations: 253.7 kB / 473.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 0 / 473.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001483/0.357, allocations: 268.2 kB / 473.7 MB, free: 12.56 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.003287/0.3603, allocations: 1.881 MB / 475.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.3627, allocations: 1.141 MB / 476.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3627, allocations: 5.375 kB / 476.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.3639, allocations: 0.7646 MB / 477.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.3648, allocations: 65.36 kB / 477.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.3765, allocations: 5.671 MB / 483.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.3772, allocations: 0.9126 MB / 484.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006514/0.3779, allocations: 110.9 kB / 484.3 MB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.3784, allocations: 255.8 kB / 484.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3784, allocations: 0 / 484.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.4228, allocations: 13.12 MB / 497.6 MB, free: 7.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.49, allocations: 8 kB / 497.6 MB, free: 7.844 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.11073400801979]