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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003124/0.003124, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.502/1.502, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.86 kB / 347.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 49.15 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004806/0.2917, allocations: 3.745 MB / 400.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.2947, allocations: 1.577 MB / 402.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.295, allocations: 11.25 kB / 402.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2971, allocations: 0.9503 MB / 403.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.2978, allocations: 230.4 kB / 403.4 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2993, allocations: 0.7143 MB / 404.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.3, allocations: 0.6227 MB / 404.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006732/0.3007, allocations: 437 kB / 405.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.3011, allocations: 274.1 kB / 405.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.3015, allocations: 302 kB / 405.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.813e-05/0.3016, allocations: 52.72 kB / 405.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.3022, allocations: 254.3 kB / 406 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.3023, allocations: 131.2 kB / 406.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3025, allocations: 252 kB / 406.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3037, allocations: 0.9181 MB / 407.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3037, allocations: 2.547 kB / 407.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3037, allocations: 0 / 407.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3038, allocations: 0 / 407.3 MB, free: 3.242 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.003699/0.3074, allocations: 1.15 MB / 408.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3075, allocations: 13.58 kB / 408.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3087, allocations: 176.5 kB / 408.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3089, allocations: 185.3 kB / 408.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.3089, allocations: 48.94 kB / 408.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.309, allocations: 68.8 kB / 408.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3103, allocations: 0.731 MB / 409.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.3103, allocations: 1.25 kB / 409.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.3104, allocations: 26.38 kB / 409.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.3104, allocations: 16.53 kB / 409.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.3116, allocations: 0.5976 MB / 410.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.3144, allocations: 1.767 MB / 412.1 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.3157, allocations: 0.6751 MB / 412.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.3162, allocations: 245.7 kB / 413 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3163, allocations: 17.97 kB / 413 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3164, allocations: 42.52 kB / 413 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.935e-06/0.3164, allocations: 3.938 kB / 413 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001736/0.3181, allocations: 0.7001 MB / 413.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.3182, allocations: 115.2 kB / 413.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.3185, allocations: 245.8 kB / 414.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.3186, allocations: 35.89 kB / 414.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3188, allocations: 275.1 kB / 414.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.319, allocations: 235.9 kB / 414.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.3192, allocations: 122.3 kB / 414.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3194, allocations: 339 kB / 415.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.3199, allocations: 210.4 kB / 415.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.3205, allocations: 330.2 kB / 415.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3216, allocations: 0.5123 MB / 416.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3216, allocations: 1.406 kB / 416.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001472/0.3231, allocations: 0.6342 MB / 416.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3231, allocations: 5.75 kB / 416.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3231, allocations: 2.312 kB / 416.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3232, allocations: 4.688 kB / 416.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.3239, allocations: 156.1 kB / 416.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.324, allocations: 4.219 kB / 416.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.3245, allocations: 79.25 kB / 417 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.3245, allocations: 21.03 kB / 417 MB, free: 13.14 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.0002874/0.3248, allocations: 195.6 kB / 417.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3249, allocations: 36.67 kB / 417.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.3265, allocations: 0.6044 MB / 417.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3265, allocations: 7.062 kB / 417.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.3266, allocations: 4 kB / 417.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.3266, allocations: 5.297 kB / 417.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.329, allocations: 1.107 MB / 419 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.329, allocations: 0 / 419 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.3296, allocations: 130.2 kB / 419.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3296, allocations: 3 kB / 419.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.3296, allocations: 15.89 kB / 419.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3296, allocations: 3.156 kB / 419.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3296, allocations: 0 / 419.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.3314, allocations: 0.9877 MB / 420.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3315, allocations: 39.17 kB / 420.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.3316, allocations: 16.17 kB / 420.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.332, allocations: 29.11 kB / 420.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3321, allocations: 51.88 kB / 420.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.3321, allocations: 20.94 kB / 420.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3323, allocations: 179 kB / 420.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3323, allocations: 0 / 420.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007077/0.333, allocations: 176.4 kB / 420.6 MB, free: 10.91 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.0002783/0.3333, allocations: 147 kB / 420.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.3346, allocations: 0.5006 MB / 421.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3346, allocations: 4.312 kB / 421.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.3351, allocations: 251.6 kB / 421.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.3356, allocations: 44.66 kB / 421.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.338, allocations: 1.081 MB / 422.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.3384, allocations: 249.1 kB / 422.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004009/0.3388, allocations: 75.34 kB / 422.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.339, allocations: 39.42 kB / 423 MB, free: 8.633 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.339, allocations: 0 / 423 MB, free: 8.633 MB / 334.1 MB Notification: Performance of Templates: time 0.01303/0.352, allocations: 5.535 MB / 428.5 MB, free: 3.09 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.825433660298586]