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.001428/0.001428, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001686/0.001686, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.505/1.505, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001865/0.001865, allocations: 63.89 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005391/0.1093, allocations: 4.211 MB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2368/0.3461, allocations: 1.732 MB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.3465, allocations: 12.66 kB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.3491, allocations: 1.017 MB / 434 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.3498, allocations: 238.2 kB / 434.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.3514, allocations: 0.7774 MB / 435 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.3521, allocations: 0.6089 MB / 435.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.3528, allocations: 377.2 kB / 436 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.3533, allocations: 268 kB / 436.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.3538, allocations: 333.6 kB / 436.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.991e-05/0.3539, allocations: 53.62 kB / 436.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.3547, allocations: 297.5 kB / 437 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3548, allocations: 130.9 kB / 437.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.3551, allocations: 310.2 kB / 437.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.3568, allocations: 0.9417 MB / 438.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3568, allocations: 1.125 kB / 438.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3568, allocations: 0.5312 kB / 438.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.3568, allocations: 0 / 438.3 MB, free: 6.402 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.004408/0.3612, allocations: 1.242 MB / 439.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3613, allocations: 10.42 kB / 439.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.867e-05/0.3613, allocations: 22.78 kB / 439.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.3615, allocations: 111.9 kB / 439.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3628, allocations: 180.2 kB / 439.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.363, allocations: 241.7 kB / 440.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.3631, allocations: 49.38 kB / 440.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.3632, allocations: 71.64 kB / 440.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.3648, allocations: 0.7072 MB / 441 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.3648, allocations: 1.766 kB / 441 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/0.3649, allocations: 28.91 kB / 441 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.365, allocations: 16.22 kB / 441 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.3664, allocations: 0.6036 MB / 441.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.3705, allocations: 2.322 MB / 443.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.3721, allocations: 1.569 MB / 445.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.3727, allocations: 240.8 kB / 445.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.3729, allocations: 184.1 kB / 445.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.373, allocations: 44.55 kB / 446 MB, free: 1.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.373, allocations: 0 / 446 MB, free: 1.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001888/0.3749, allocations: 0.7078 MB / 446.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3749, allocations: 111.9 kB / 446.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.3753, allocations: 265.1 kB / 447 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.3753, allocations: 35.92 kB / 447.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3755, allocations: 269 kB / 447.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.3756, allocations: 236.1 kB / 447.6 MB, free: 460 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.3759, allocations: 119.5 kB / 447.7 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.376, allocations: 350.3 kB / 448 MB, free: 56 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.3766, allocations: 211.2 kB / 448.2 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.3774, allocations: 328 kB / 448.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3786, allocations: 0.5188 MB / 449.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3786, allocations: 1.312 kB / 449.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001679/0.3803, allocations: 0.6334 MB / 449.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3803, allocations: 5.188 kB / 449.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3803, allocations: 2.188 kB / 449.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.3803, allocations: 4.312 kB / 449.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.3812, allocations: 154.7 kB / 449.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.3812, allocations: 9.188 kB / 449.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/0.3819, allocations: 81.34 kB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.3819, allocations: 24.28 kB / 450 MB, free: 15.31 MB / 366.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.0003743/0.3823, allocations: 186.9 kB / 450.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3825, allocations: 39.05 kB / 450.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.3842, allocations: 0.6012 MB / 450.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3842, allocations: 11.84 kB / 450.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3842, allocations: 0 / 450.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.3842, allocations: 9.203 kB / 450.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.3875, allocations: 1.298 MB / 452.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3875, allocations: 0 / 452.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/0.3882, allocations: 125.9 kB / 452.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.3882, allocations: 6.75 kB / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.3882, allocations: 18.12 kB / 452.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.3882, allocations: 2.75 kB / 452.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3882, allocations: 2.172 kB / 452.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.3903, allocations: 0.9801 MB / 453.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.3905, allocations: 123.5 kB / 453.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.3906, allocations: 16.94 kB / 453.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.391, allocations: 26.48 kB / 453.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3912, allocations: 40.11 kB / 453.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.3912, allocations: 18.44 kB / 453.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.3915, allocations: 201.1 kB / 453.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3915, allocations: 0 / 453.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008222/0.3923, allocations: 182.8 kB / 453.8 MB, free: 13.29 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.002613/0.3949, allocations: 1.561 MB / 455.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.3965, allocations: 0.5052 MB / 455.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3965, allocations: 4.062 kB / 455.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.397, allocations: 245.6 kB / 456.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.3977, allocations: 49.16 kB / 456.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008594/0.4063, allocations: 4.208 MB / 460.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.4069, allocations: 0.8493 MB / 461.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.4073, allocations: 75.83 kB / 461.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.4076, allocations: 195.8 kB / 461.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 1.803e-06/0.4076, allocations: 0 / 461.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.4459, allocations: 9.537 MB / 471.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/9.392, allocations: 16.92 kB / 471.1 MB, free: 3.957 MB / 366.1 MB " [Timeout remaining time 650] (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: 11.937133216008078]