Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections")
translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 60.31 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2799, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005172/0.2851, allocations: 4.177 MB / 401 MB, free: 6.57 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002891/0.288, allocations: 1.696 MB / 402.7 MB, free: 5.375 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.2883, allocations: 15.31 kB / 402.7 MB, free: 5.371 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002161/0.2904, allocations: 1.008 MB / 403.7 MB, free: 4.77 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.291, allocations: 241 kB / 403.9 MB, free: 4.605 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.2924, allocations: 0.8027 MB / 404.7 MB, free: 4.109 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000622/0.2931, allocations: 0.6257 MB / 405.4 MB, free: 3.789 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.2936, allocations: 379.9 kB / 405.7 MB, free: 3.574 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.294, allocations: 273.4 kB / 406 MB, free: 3.445 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.2944, allocations: 336.8 kB / 406.3 MB, free: 3.281 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.2945, allocations: 53.28 kB / 406.4 MB, free: 3.281 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.2951, allocations: 267.8 kB / 406.7 MB, free: 3.207 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.2951, allocations: 133.8 kB / 406.8 MB, free: 3.113 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000214/0.2954, allocations: 309.6 kB / 407.1 MB, free: 2.922 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2964, allocations: 0.9149 MB / 408 MB, free: 2.543 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2964, allocations: 0.8438 kB / 408 MB, free: 2.543 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.312e-06/0.2964, allocations: 0 / 408 MB, free: 2.543 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.066e-05/0.2964, allocations: 0 / 408 MB, free: 2.543 MB / 318.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.003427/0.2998, allocations: 1.147 MB / 409.2 MB, free: 1.902 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2999, allocations: 12.36 kB / 409.2 MB, free: 1.898 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.301, allocations: 176.6 kB / 409.3 MB, free: 1.848 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3012, allocations: 185.1 kB / 409.5 MB, free: 1.664 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.3012, allocations: 57.59 kB / 409.6 MB, free: 1.637 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.3013, allocations: 63.66 kB / 409.6 MB, free: 1.617 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3027, allocations: 0.7051 MB / 410.3 MB, free: 1.293 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.3027, allocations: 5.234 kB / 410.3 MB, free: 1.289 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.3028, allocations: 25.03 kB / 410.4 MB, free: 1.27 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3028, allocations: 16.34 kB / 410.4 MB, free: 1.27 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.304, allocations: 0.6011 MB / 411 MB, free: 0.9844 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.3075, allocations: 2.23 MB / 413.2 MB, free: 15.16 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.3089, allocations: 0.6778 MB / 413.9 MB, free: 14.8 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.3094, allocations: 247.6 kB / 414.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3096, allocations: 17.48 kB / 414.2 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3096, allocations: 40.97 kB / 414.2 MB, free: 14.61 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=66): time 2.574e-06/0.3096, allocations: 0 / 414.2 MB, free: 14.61 MB / 334.1 MB
Notification: Performance of matching and sorting (n=66): time 0.001776/0.3114, allocations: 0.7091 MB / 414.9 MB, free: 14.26 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.3115, allocations: 114.3 kB / 415 MB, free: 14.13 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3118, allocations: 263.2 kB / 415.3 MB, free: 13.95 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.3119, allocations: 35.89 kB / 415.3 MB, free: 13.91 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3121, allocations: 267.1 kB / 415.6 MB, free: 13.67 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.3123, allocations: 239.4 kB / 415.8 MB, free: 13.46 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.3125, allocations: 122.5 kB / 415.9 MB, free: 13.38 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001832/0.3127, allocations: 346 kB / 416.3 MB, free: 13.04 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.3131, allocations: 206.4 kB / 416.5 MB, free: 12.95 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.3137, allocations: 307.5 kB / 416.8 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.3148, allocations: 0.5115 MB / 417.3 MB, free: 12.45 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3148, allocations: 0 / 417.3 MB, free: 12.45 MB / 334.1 MB
Notification: Performance of matching and sorting (n=84) (initialization): time 0.001288/0.3161, allocations: 0.6327 MB / 417.9 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3161, allocations: 5.094 kB / 417.9 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3162, allocations: 2.312 kB / 417.9 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3162, allocations: 4.594 kB / 417.9 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.3169, allocations: 160.8 kB / 418.1 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3169, allocations: 3.781 kB / 418.1 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.3175, allocations: 70.92 kB / 418.1 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.3175, allocations: 33.7 kB / 418.2 MB, free: 12.04 MB / 334.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.0002769/0.3178, allocations: 191.5 kB / 418.4 MB, free: 11.86 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3179, allocations: 37.33 kB / 418.4 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3193, allocations: 0.605 MB / 419 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3193, allocations: 10.81 kB / 419 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3193, allocations: 3.984 kB / 419 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3193, allocations: 1.375 kB / 419 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3217, allocations: 1.267 MB / 420.3 MB, free: 10.6 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3217, allocations: 0.9062 kB / 420.3 MB, free: 10.6 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.3223, allocations: 128.8 kB / 420.4 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3223, allocations: 3.344 kB / 420.4 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.3223, allocations: 20.3 kB / 420.4 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.3223, allocations: 6.844 kB / 420.4 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3224, allocations: 0.9688 kB / 420.4 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.3241, allocations: 0.9707 MB / 421.4 MB, free: 9.949 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.3242, allocations: 48.09 kB / 421.5 MB, free: 9.914 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.3243, allocations: 16.09 kB / 421.5 MB, free: 9.902 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.3247, allocations: 32.67 kB / 421.5 MB, free: 9.883 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3248, allocations: 48.47 kB / 421.6 MB, free: 9.852 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.3248, allocations: 17 kB / 421.6 MB, free: 9.848 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002142/0.325, allocations: 192.7 kB / 421.8 MB, free: 9.711 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.325, allocations: 3.938 kB / 421.8 MB, free: 9.707 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0005926/0.3256, allocations: 181.6 kB / 421.9 MB, free: 9.656 MB / 334.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.0002633/0.3259, allocations: 134.3 kB / 422.1 MB, free: 9.543 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001154/0.327, allocations: 0.5089 MB / 422.6 MB, free: 9.207 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.327, allocations: 3.938 kB / 422.6 MB, free: 9.203 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.3276, allocations: 247.6 kB / 422.8 MB, free: 8.961 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3281, allocations: 52.78 kB / 422.9 MB, free: 8.91 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3304, allocations: 1.081 MB / 424 MB, free: 7.801 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.331, allocations: 0.8421 MB / 424.8 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0003719/0.3314, allocations: 87.38 kB / 424.9 MB, free: 6.848 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.3316, allocations: 43.42 kB / 424.9 MB, free: 6.805 MB / 334.1 MB
Notification: Performance of SimCode: time 6.62e-07/0.3316, allocations: 0 / 424.9 MB, free: 6.805 MB / 334.1 MB
Notification: Performance of Templates: time 0.01241/0.344, allocations: 5.551 MB / 430.5 MB, free: 1.246 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.623130593448877]