Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001429/0.001429, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001436/0.001436, allocations: 207.5 kB / 24.53 MB, free: 4.066 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.42/1.42, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 378.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2718, allocations: 53.41 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005995/0.2778, allocations: 4.226 MB / 436.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.281, allocations: 1.751 MB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.2813, allocations: 12 kB / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.2837, allocations: 1.018 MB / 439 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007067/0.2845, allocations: 246.2 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.2861, allocations: 0.7668 MB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.2869, allocations: 0.6066 MB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.2877, allocations: 436.6 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.2882, allocations: 275 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.2886, allocations: 334.7 kB / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.2887, allocations: 52 kB / 441.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.2894, allocations: 295.7 kB / 442 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2895, allocations: 135.5 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.2898, allocations: 306.5 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.2911, allocations: 0.9453 MB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2911, allocations: 3.938 kB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2911, allocations: 0 / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2911, allocations: 0 / 443.3 MB, free: 11.27 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003671/0.2948, allocations: 1.168 MB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.2948, allocations: 8.031 kB / 444.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.13e-05/0.2948, allocations: 18.19 kB / 444.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.295, allocations: 114.7 kB / 444.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.2962, allocations: 180.4 kB / 444.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.2964, allocations: 182.4 kB / 445 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.2965, allocations: 54.38 kB / 445.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2966, allocations: 64.33 kB / 445.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.2979, allocations: 0.7073 MB / 445.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.2979, allocations: 0 / 445.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.2979, allocations: 36 kB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.298, allocations: 16 kB / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.2992, allocations: 0.6023 MB / 446.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.3028, allocations: 2.24 MB / 448.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3042, allocations: 0.6653 MB / 449.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.3046, allocations: 254.6 kB / 449.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.3048, allocations: 32.61 kB / 449.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3048, allocations: 43.25 kB / 449.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.064e-06/0.3048, allocations: 0 / 449.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001575/0.3064, allocations: 0.7124 MB / 450.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.3065, allocations: 107.5 kB / 450.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3068, allocations: 264.8 kB / 450.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.3068, allocations: 37.7 kB / 450.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.307, allocations: 268.7 kB / 451.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.3072, allocations: 238 kB / 451.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.3074, allocations: 122.7 kB / 451.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3075, allocations: 350.7 kB / 451.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.308, allocations: 209.9 kB / 452 MB, free: 2.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.3086, allocations: 301.4 kB / 452.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.3096, allocations: 0.5224 MB / 452.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3096, allocations: 0 / 452.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001265/0.3109, allocations: 0.626 MB / 453.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3109, allocations: 12 kB / 453.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3109, allocations: 0 / 453.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3109, allocations: 4 kB / 453.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.3116, allocations: 155.8 kB / 453.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.3116, allocations: 11.94 kB / 453.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.3121, allocations: 71.55 kB / 453.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.3121, allocations: 27.94 kB / 453.7 MB, free: 0.5547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00026/0.3124, allocations: 197.6 kB / 453.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3125, allocations: 35.77 kB / 453.9 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.3138, allocations: 0.599 MB / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3138, allocations: 8 kB / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3138, allocations: 0 / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3138, allocations: 3.984 kB / 454.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.3161, allocations: 1.279 MB / 455.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3161, allocations: 0 / 455.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3167, allocations: 127.8 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3167, allocations: 4 kB / 456 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.3167, allocations: 15.94 kB / 456 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3167, allocations: 8 kB / 456 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3167, allocations: 0 / 456 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.3184, allocations: 0.9862 MB / 457 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.3184, allocations: 47.66 kB / 457 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.3185, allocations: 15.94 kB / 457 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.3189, allocations: 23.98 kB / 457 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.319, allocations: 44.56 kB / 457.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.319, allocations: 20 kB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.3192, allocations: 192.5 kB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3192, allocations: 0 / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006272/0.3198, allocations: 187.6 kB / 457.5 MB, free: 12.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/0.322, allocations: 1.566 MB / 459 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3231, allocations: 0.5013 MB / 459.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3231, allocations: 3.938 kB / 459.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.3236, allocations: 252 kB / 459.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.3241, allocations: 55.73 kB / 459.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/0.3305, allocations: 4.198 MB / 464 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.331, allocations: 0.8536 MB / 464.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003205/0.3313, allocations: 75.39 kB / 465 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.3316, allocations: 191.4 kB / 465.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3316, allocations: 0 / 465.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.3649, allocations: 10 MB / 475.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.98, allocations: 12 kB / 475.2 MB, free: 10.98 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.477309186011553]