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.001424/0.001424, allocations: 120.2 kB / 21.94 MB, free: 8 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.001615/0.001615, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.455/1.455, allocations: 207.6 MB / 236 MB, free: 9.992 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.002029/0.002029, allocations: 51.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2751, allocations: 49.16 MB / 397.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004856/0.28, allocations: 4.174 MB / 401.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.283, allocations: 1.691 MB / 403.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.2835, allocations: 11.75 kB / 403.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.2859, allocations: 1.028 MB / 404.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008945/0.2868, allocations: 235.2 kB / 404.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.2885, allocations: 0.7609 MB / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008562/0.2893, allocations: 0.6204 MB / 406.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007208/0.29, allocations: 446.9 kB / 406.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.2905, allocations: 281.3 kB / 406.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.2909, allocations: 332 kB / 407.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.983e-05/0.291, allocations: 58.06 kB / 407.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.2917, allocations: 263.6 kB / 407.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.2918, allocations: 135.2 kB / 407.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.292, allocations: 305.4 kB / 407.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.2934, allocations: 0.9166 MB / 408.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2934, allocations: 1.922 kB / 408.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2934, allocations: 0 / 408.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.2934, allocations: 0 / 408.8 MB, free: 2.316 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.003571/0.297, allocations: 1.146 MB / 410 MB, free: 1.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.297, allocations: 17.52 kB / 410 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.2981, allocations: 172.6 kB / 410.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.2983, allocations: 187.8 kB / 410.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.2984, allocations: 54.06 kB / 410.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.2985, allocations: 67.61 kB / 410.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2997, allocations: 0.7066 MB / 411.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2998, allocations: 4 kB / 411.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/0.2998, allocations: 27 kB / 411.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2998, allocations: 16.16 kB / 411.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.301, allocations: 0.604 MB / 411.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.3046, allocations: 2.218 MB / 414 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.306, allocations: 0.6786 MB / 414.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.3065, allocations: 242.7 kB / 415 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3066, allocations: 25.11 kB / 415 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.3067, allocations: 42.75 kB / 415 MB, free: 14.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 3.056e-06/0.3067, allocations: 0 / 415 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001682/0.3083, allocations: 0.7035 MB / 415.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.3084, allocations: 118.5 kB / 415.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.3088, allocations: 260 kB / 416.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.3089, allocations: 35.98 kB / 416.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.309, allocations: 274 kB / 416.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.3093, allocations: 236.6 kB / 416.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.3094, allocations: 117.8 kB / 416.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3096, allocations: 342.6 kB / 417.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.3101, allocations: 219.1 kB / 417.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.3107, allocations: 299.2 kB / 417.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3118, allocations: 0.5112 MB / 418.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3118, allocations: 3.938 kB / 418.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001429/0.3132, allocations: 0.6362 MB / 418.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3132, allocations: 6 kB / 418.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3132, allocations: 1.125 kB / 418.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3133, allocations: 4.625 kB / 418.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.314, allocations: 162.4 kB / 418.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.314, allocations: 4.219 kB / 418.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.3146, allocations: 74.11 kB / 419 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.3146, allocations: 20.5 kB / 419 MB, free: 11.82 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.0002983/0.3149, allocations: 195.2 kB / 419.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.315, allocations: 42.72 kB / 419.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3163, allocations: 0.6035 MB / 419.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3163, allocations: 11.56 kB / 419.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3164, allocations: 0 / 419.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3164, allocations: 5.359 kB / 419.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.3188, allocations: 1.267 MB / 421.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3188, allocations: 1.281 kB / 421.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.3194, allocations: 133 kB / 421.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.3194, allocations: 2.781 kB / 421.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.3194, allocations: 12.81 kB / 421.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.3195, allocations: 7.344 kB / 421.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3195, allocations: 0 / 421.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.3212, allocations: 0.9792 MB / 422.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3214, allocations: 44.42 kB / 422.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.3214, allocations: 10.72 kB / 422.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.3218, allocations: 34 kB / 422.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.322, allocations: 43.73 kB / 422.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.322, allocations: 20.61 kB / 422.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.3222, allocations: 192.8 kB / 422.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3222, allocations: 0 / 422.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.3229, allocations: 185.4 kB / 422.8 MB, free: 9.434 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.0002804/0.3231, allocations: 137.9 kB / 422.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.3244, allocations: 0.5013 MB / 423.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3244, allocations: 4.125 kB / 423.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.3249, allocations: 255.6 kB / 423.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.3255, allocations: 48.36 kB / 423.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3277, allocations: 1.114 MB / 424.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.3282, allocations: 0.8421 MB / 425.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.3285, allocations: 59.41 kB / 425.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3285, allocations: 0 / 425.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of Templates: time 0.0117/0.3402, allocations: 6.786 MB / 432.5 MB, free: 15.8 MB / 350.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/jenkins1/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/jenkins1/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: 7.25777846109122]